Skip to content
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

Route 53 record normalize should lowercase the DNS name #10484

Closed
joshuaspence opened this issue Dec 2, 2016 · 3 comments
Closed

Route 53 record normalize should lowercase the DNS name #10484

joshuaspence opened this issue Dec 2, 2016 · 3 comments

Comments

@joshuaspence
Copy link
Contributor

We have the following Route 53 DNS record created with Terraform:

resource "aws_route53_record" "test" {
  zone_id = "${aws_route53_zone.test.zone_id}"
  name    = "www"
  type    = "A"

  alias {
    name                   = "${aws_elb.test.dns_name}"
    zone_id                = "${var.aws_elb_route53_hosted_zone_ids[var.region]}"
    evaluate_target_health = true
  }
}

The aws_elb.test resource contains a combination of uppercase and lowercase characters and, as a result, Terraform always wants to apply changes. It seems that the normalization for Route 53 DNS records should lowercase the values before comparing them to those returned from the AWS API.

@joshuaspence
Copy link
Contributor Author

This issue has also been mentioned on #10007, #9289 and #10004.

@mitchellh
Copy link
Contributor

Closing since this looks like a multi-dup! Thanks!

@ghost
Copy link

ghost commented Apr 19, 2020

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.

@ghost ghost locked and limited conversation to collaborators Apr 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants