Terraform: AWS Elastic File System DNS name has (silently?) changed

Created on 22 Dec 2016  ยท  6Comments  ยท  Source: hashicorp/terraform

Hi there!

It turns out, as per the AWS Console and new EC2 mounting instructions, AWS has (silently?) dropped the availability zone from the EFS DNS name.

The former us-east-1a.fs-xxxxxxxx.efs.us-east-1.amazonaws.com becomes just fs-xxxxxxxx.efs.us-east-1.amazonaws.com.

Unfortunately, aws_efs_mount_target.xxx.dns_name still outputs the old format.

For the moment, just dropping the AZ from the DNS works, as in replace(aws_efs_mount_target.xxx.dns_name, "/\\A[^\\.]*\\./", ""), but I figured it'd be useful to let you know!

Thanks a lot for this great tool!

Affected Resource(s)

  • aws_efs_file_system
bug provideaws

Most helpful comment

Thanks for such awesome tool!

All 6 comments

Hi @aisamu

thanks for the bug report here - can you tell me if terraform refresh updates the dns_name?

Thanks

Paul

Hey!

Sadly, it doesn't =(

Found the error! It will be fixed as of 0.8.3 :)

Thanks for such awesome tool!

I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

Was this page helpful?
0 / 5 - 0 ratings