File tree 2 files changed +5
-3
lines changed 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -8,4 +8,5 @@ resource "aws_acm_certificate" "cloudfront_cert" {
8
8
resource "aws_acm_certificate_validation" "cloudfront_cert_validation" {
9
9
certificate_arn = aws_acm_certificate. cloudfront_cert . arn
10
10
validation_record_fqdns = [for record in aws_route53_record . acm_records : record . fqdn ]
11
+ provider = aws. acm
11
12
}
Original file line number Diff line number Diff line change @@ -11,12 +11,13 @@ resource "aws_route53_record" "acm_records" {
11
11
}
12
12
}
13
13
14
- allow_overwrite = true
14
+ type = each. value . type
15
+ zone_id = data. aws_route53_zone . hosted_zone . zone_id
15
16
name = each. value . name
16
17
records = [each . value . record ]
17
18
ttl = 60
18
- type = each . value . type
19
- zone_id = data . aws_route53_zone . hosted_zone . zone_id
19
+ allow_overwrite = true
20
+ provider = aws . default
20
21
}
21
22
22
23
# ############################################
You can’t perform that action at this time.
0 commit comments