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 b99eae8 commit 6a0fa90Copy full SHA for 6a0fa90
main.tf
@@ -40,7 +40,7 @@ resource "aws_acm_certificate" "self" {
40
}
41
42
resource "aws_route53_record" "validation" {
43
- count = var.validation_set_records ? length(local.cert_validation_domains) : 0
+ count = var.validation_set_records ? length(local.all_domains) : 0
44
45
zone_id = lookup(local.zone_name_to_id_map, lookup(local.domain_to_zone_map, local.cert_validation_domains[count.index]["domain_name"]))
46
name = local.cert_validation_domains[count.index]["resource_record_name"]
0 commit comments