Created
January 3, 2021 03:33
-
-
Save JonHolman/113f5d669cd4b288bea9a0cfe366b935 to your computer and use it in GitHub Desktop.
part-5-adding-cloudfront-adding-parameters-and-conditions-for-alias
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
Parameters: | |
CloudFrontDnsAlias: | |
Type: String | |
AcmCertArn: | |
Type: String | |
Conditions: | |
HasCloudFrontDnsAlias: !Not | |
- !Equals | |
- !Ref CloudFrontDnsAlias | |
- '' | |
HasAcmCertArn: !Not | |
- !Equals | |
- !Ref AcmCertArn | |
- '' | |
CreateDnsAlias: !And | |
- !Condition HasCloudFrontDnsAlias | |
- !Condition HasAcmCertArn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment