Last active
July 24, 2020 08:59
-
-
Save MrAtheist/cd94be487695e9833f9aab4171c94f8e 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
Resources: | |
dns: | |
Type: AWS::Route53::RecordSet | |
Properties: | |
HostedZoneId: "__ACCOUNT_DNS_ROUTE53_HOSTED_ZONE_ID__" | |
Name: "__DNS_FQDN__" | |
Type: "CNAME" | |
TTL: "300" | |
ResourceRecords: [{ "Fn::GetAtt" : [ {"Ref": "AWSEBEnvironmentName"}, "EndpointURL"] }] |
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
Resources: | |
dns: | |
Type: AWS::Route53::RecordSetGroup | |
Properties: | |
HostedZoneId: "__ACCOUNT_DNS_ROUTE53_HOSTED_ZONE_ID__" | |
RecordSets: | |
- Name: "__DNS_FQDN__" | |
Type: "A" | |
AliasTarget: | |
HostedZoneId: "__ACCOUNT_ELB_ROUTE53_HOSTED_ZONE_ID__" | |
DNSName: { "Fn::GetAtt" : [ "AWSEBLoadBalancer", "DNSName"] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment