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 6b2ceb8 commit c52acabCopy full SHA for c52acab
static-site/acm.tf
@@ -7,5 +7,5 @@ resource "aws_acm_certificate" "cloudfront_cert" {
7
8
resource "aws_acm_certificate_validation" "cert_validation" {
9
certificate_arn = aws_acm_certificate.cloudfront_cert.arn
10
- validation_record_fqdns = [for record in data.aws_route53_zone.hosted_zone : record.fqdn]
+ validation_record_fqdns = [for record in aws_route53_zone.hosted_zone : record.fqdn]
11
}
static-site/route53.tf
@@ -16,7 +16,7 @@ resource "aws_route53_record" "acm_records" {
16
records = [each.value.record]
17
ttl = 60
18
type = each.value.type
19
- zone_id = data.aws_route53_zone.hosted_zone.zone_id
+ zone_id = aws_route53_zone.hosted_zone.zone_id
20
21
22
#############################################
0 commit comments