Closed alexblanck closed 2 years ago
When creating the stack with CreateApex set to yes and HostedZoneId set correctly, I observed that CNAME validation records were only created for the subdomain record and not for the apex record.
CreateApex
yes
HostedZoneId
I believe this is because the template only provides DomainValidationOptions for the subdomain: https://github.com/aws-samples/amazon-cloudfront-secure-static-site/blob/master/templates/acm-certificate.yaml#L29
DomainValidationOptions
Hi Alex, Thanks for opening an issue
I'm investigating and will get back you
This should now be fixed. Thanks again Alex.
When creating the stack with
CreateApex
set toyes
andHostedZoneId
set correctly, I observed that CNAME validation records were only created for the subdomain record and not for the apex record.I believe this is because the template only provides
DomainValidationOptions
for the subdomain: https://github.com/aws-samples/amazon-cloudfront-secure-static-site/blob/master/templates/acm-certificate.yaml#L29