Skip to content

Commit

Permalink
Add cloudfront hostedzoneid for route53
Browse files Browse the repository at this point in the history
When creating an A record for a cloudfront distribution, the `AliasTarget` must refer to the cloudfront `HostedZoneId`.

Reference: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-aliastarget.html
  • Loading branch information
khornberg committed Mar 11, 2016
1 parent fe72f7d commit 655265d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions troposphere/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,3 +236,8 @@
LIST_OF_VOLUME_IDS = 'List<AWS::EC2::Volume::Id>'
LIST_OF_VPC_IDS = 'List<AWS::EC2::VPC::Id>'
LIST_OF_HOSTED_ZONE_IDS = 'List<AWS::Route53::HostedZone::Id>'

#
# Route53
#
CLOUDFRONT_HOSTEDZONEID = 'Z2FDTNDATAQYW2'

0 comments on commit 655265d

Please sign in to comment.