Created
June 22, 2020 04:49
-
-
Save Leonti/8b9dae5b90573a0a454ed8f72d2760e0 to your computer and use it in GitHub Desktop.
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
Route53RecordSetGroup: | |
Type: AWS::Route53::RecordSetGroup | |
Properties: | |
HostedZoneName: !Sub '${DomainName}.' | |
RecordSets: | |
- Name: !Ref DomainName | |
Type: A | |
AliasTarget: | |
DNSName: !GetAtt CloudFrontDistribution.DomainName | |
EvaluateTargetHealth: false | |
HostedZoneId: Z2FDTNDATAQYW2 | |
- Name: !Sub 'www.${DomainName}' | |
Type: A | |
AliasTarget: | |
DNSName: !GetAtt CloudFrontDistributionRedirect.DomainName | |
EvaluateTargetHealth: false | |
HostedZoneId: Z2FDTNDATAQYW2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment