Skip to content

Commit 8cefc8b

Browse files
committed
Fix validation record
1 parent d2d3e5b commit 8cefc8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ resource "aws_acm_certificate_validation" "this" {
1919
provider = "aws"
2020
count = "${length(var.zone_ids)}"
2121
certificate_arn = "${aws_acm_certificate.this.arn}"
22-
validation_record_fqdns = ["${aws_route53_record.this.*.fqdn}"]
22+
validation_record_fqdns = ["${element(aws_route53_record.this.*.fqdn, count.index)}"]
2323
}

0 commit comments

Comments
 (0)