Last active
January 5, 2021 00:47
-
-
Save JonHolman/2bb5897d1176810797147aaf4d41ba60 to your computer and use it in GitHub Desktop.
part-5-adding-cloudfront-conditionally-add-alias-to-cloudfront-resource
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aliases: | |
!If | |
- CreateDnsAlias | |
- - !Ref CloudFrontDnsAlias | |
- !Ref AWS::NoValue | |
ViewerCertificate: | |
!If | |
- CreateDnsAlias | |
- | |
AcmCertificateArn: !Ref AcmCertArn | |
SslSupportMethod: sni-only | |
- !Ref AWS::NoValue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment