Skip to content

Commit 9c54d63

Browse files
committed
Add missing providers
1 parent 6393bb2 commit 9c54d63

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

static-site/acm.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ resource "aws_acm_certificate" "cloudfront_cert" {
88
resource "aws_acm_certificate_validation" "cloudfront_cert_validation" {
99
certificate_arn = aws_acm_certificate.cloudfront_cert.arn
1010
validation_record_fqdns = [for record in aws_route53_record.acm_records : record.fqdn]
11+
provider = aws.acm
1112
}

static-site/route53.tf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ resource "aws_route53_record" "acm_records" {
1111
}
1212
}
1313

14-
allow_overwrite = true
14+
type = each.value.type
15+
zone_id = data.aws_route53_zone.hosted_zone.zone_id
1516
name = each.value.name
1617
records = [each.value.record]
1718
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
2021
}
2122

2223
#############################################

0 commit comments

Comments
 (0)