Skip to content

Commit b393b49

Browse files
vitaliimdp1gmale0n
authored andcommitted
fix: fixed bug zone_id value (#333)
1 parent 681f577 commit b393b49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/layer1-aws/locals.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ locals {
1515

1616
ssl_certificate_arn = var.create_acm_certificate ? module.acm.acm_certificate_arn : data.aws_acm_certificate.main[0].arn
1717

18-
zone_id = var.create_r53_zone ? keys(module.r53_zone.route53_zone_zone_id)[0] : (var.zone_id != null ? var.zone_id : data.aws_route53_zone.main[0].zone_id)
18+
zone_id = var.create_r53_zone ? values(module.r53_zone.route53_zone_zone_id)[0] : (var.zone_id != null ? var.zone_id : data.aws_route53_zone.main[0].zone_id)
1919
}

0 commit comments

Comments
 (0)