Terraform v0.6.16
resource "aws_route53_record" "foo-example-com-A" {
zone_id = "ZREDACTED"
name = "foo.example.com"
type = "A"
alias {
name = "dualstack.redacted.us-east-1.elb.amazonaws.com"
zone_id = "ZREDACTED"
evaluate_target_health = false
}
}
If the configuration is not changed between Terraform runs, no pending changes should be reported by terraform plan.
Running terraform plan results in the following output:
~ aws_route53_record.foo-example-com-A
alias.3007436033.evaluate_target_health: "" => "false"
alias.3007436033.name: "" => "dualstack.redacted.us-east-1.elb.amazonaws.com"
alias.3007436033.zone_id: "" => "ZREDACTED"
alias.3868099092.evaluate_target_health: "false" => "false"
alias.3868099092.name: "dualstack.redacted.us-east-1.elb.amazonaws.com." => ""
alias.3868099092.zone_id: "ZREDACTED" => ""
terraform apply.terraform plan.Hi @jimmycuadra
Apologies this is affecting you. Just to let you know, a fix has been merged to 0.7 branch:
provider/aws: Trim trailing . from name in aws_route53_record resources to prevent spurious diffs [GH-6592]
This will be released soon.
Paul
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.
Most helpful comment
Hi @jimmycuadra
Apologies this is affecting you. Just to let you know, a fix has been merged to 0.7 branch:
This will be released soon.
Paul