Created
September 29, 2015 06:58
-
-
Save mmb/56eb3bd1e00c61140085 to your computer and use it in GitHub Desktop.
creating a route 53 A record pointing to an elastic ip
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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Resources": { | |
"aRecord": { | |
"Properties": { | |
"HostedZoneId": { | |
"Ref": "hostedZone" | |
}, | |
"Name": "test.mmbtest.com", | |
"ResourceRecords": [ | |
{ | |
"Ref": "eip" | |
} | |
], | |
"TTL": 300, | |
"Type": "A" | |
}, | |
"Type": "AWS::Route53::RecordSet" | |
}, | |
"eip": { | |
"Properties": { | |
"Domain": "vpc" | |
}, | |
"Type": "AWS::EC2::EIP" | |
}, | |
"hostedZone": { | |
"Properties": { | |
"Name": "mmbtest.com" | |
}, | |
"Type": "AWS::Route53::HostedZone" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment