-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws_route53_record strips trailing dots from FQDNs #11147
Comments
Hey @BBauman 👋 Thank you for taking the time to file this issue. Given that there's been a number of AWS provider releases since you initially filed it, can you confirm whether you're still experiencing this behavior? |
The above repro steps continue to demonstrate the behavior at least through provider release 3.46.0. |
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you! |
Still relevant. |
AWS presumes that all domains in Route53 are fully qualified, and thus a
somewhere.com
record is functionally equivalent to asomewhere.com.
record. However, AWS will still retain the trailing dot if the user configures one, as demonstrated:The Terraform AWS provider, however, will strip the trailing dot from any aws_route53_record name and fqdn field, both incoming (data) and outgoing (resources). For example:
The fact that AWS treats all records as fully-qualified shouldn't matter to Terraform. Since AWS supports including or not including a trailing dot, Terraform should faithfully transmit the information as submitted. Similarly, Terraform should faithfully report the information as it exists in AWS, instead of removing the trailing dot as it does now.
Possibly related issues:
hashicorp/terraform#8511
#241
#1031
The text was updated successfully, but these errors were encountered: