We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdec6da commit 34bec09Copy full SHA for 34bec09
operations/deployment/terraform/modules/aws/route53/aws_route53.tf
@@ -33,7 +33,7 @@ data "aws_route53_records" "existing_dev" {
33
34
# Or if you really need to check existing records, make it safer:
35
locals {
36
- existing_zone_id = try(data.aws_route53_records.existing_dev.resource_record_sets[0].alias_target.zone_id) != "" ? data.aws_route53_records.existing_dev.resource_record_sets[0].alias_target.zone_id : var.aws_elb_zone_id
+ existing_zone_id = try(data.aws_route53_records.existing_dev.resource_record_sets[0].alias_target.hosted_zone_id) != "" ? data.aws_route53_records.existing_dev.resource_record_sets[0].alias_target.hosted_zone_id : var.aws_elb_zone_id
37
}
38
39
resource "aws_route53_record" "dev" {
0 commit comments