Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mmb
Created September 29, 2015 06:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mmb/56eb3bd1e00c61140085 to your computer and use it in GitHub Desktop.
Save mmb/56eb3bd1e00c61140085 to your computer and use it in GitHub Desktop.
creating a route 53 A record pointing to an elastic ip
{
"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