0.19.0 Empty `alias` if no `acm_certificate_arn` given
what
- Empty
aliasif noacm_certificate_arngiven
why
- If we give
aliasbut not giveacm_certificate_arn, the following error will be thrown:
Error: error creating CloudFront Distribution: InvalidViewerCertificate: To add an alternate domain name (CNAME) to a CloudFront distribution, you must attach a trusted certificate that validates your authorization to use the domain name. For more details, see: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-requirements