Skip to content

Commit a7b95ce

Browse files
committed
Fix missing braces
1 parent 40b823d commit a7b95ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ resource "aws_route53_record" "this" {
1212
name = aws_acm_certificate.this.domain_validation_options[count.index]["resource_record_name"]
1313
type = aws_acm_certificate.this.domain_validation_options[count.index]["resource_record_type"]
1414
zone_id = element(var.zone_ids, count.index)
15-
records = aws_acm_certificate.this.domain_validation_options[count.index]["resource_record_value"]
16-
ttl = 60
15+
records = [aws_acm_certificate.this.domain_validation_options[count.index]["resource_record_value"]]
16+
ttl = 60
1717
}
1818

1919
resource "aws_acm_certificate_validation" "this" {

0 commit comments

Comments
 (0)