Skip to content

Instantly share code, notes, and snippets.

@aneeshkp
Last active June 29, 2016 15:16
Show Gist options
  • Select an option

  • Save aneeshkp/6120146cde7698d593f5327f2e9ba85a to your computer and use it in GitHub Desktop.

Select an option

Save aneeshkp/6120146cde7698d593f5327f2e9ba85a to your computer and use it in GitHub Desktop.
{
"AWSTemplateFormatVersion": "2010-09-09",
"Parameters" : {
"AvailabilityZoneParameter" : {
"Type" : "String",
"Default" : "us-east-1b",
"AllowedValues" : ["us-east-1a", "us-east-1b", "us-east-1c", "us-east-1d"],
"Description" : "Enter AvailabilityZone"
},
"VPCParameter" : {
"Type" : "String",
"Default" : "vpc-7239c615",
"Description" : "Enter VPC id from ams"
}
},
"Resources": {
"InterCloud": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"VpcId": { "Ref" : "VPCParameter" },
"CidrBlock": "10.0.2.0/24",
"AvailabilityZone": { "Ref" : "AvailabilityZoneParameter" },
"Tags" : [ { "Key" : "Name", "Value" : "InterCloud" } ]
}
},
"NetMgmt": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"VpcId": { "Ref" : "VPCParameter" },
"CidrBlock": "10.0.3.0/24",
"MapPublicIpOnLaunch":"true",
"AvailabilityZone": { "Ref" : "AvailabilityZoneParameter" },
"Tags" : [ { "Key" : "Name", "Value" : "net_mgmt" } ]
}
},
"CloudExternal": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"VpcId": { "Ref" : "VPCParameter" },
"CidrBlock": "10.0.4.0/24",
"MapPublicIpOnLaunch":"true",
"AvailabilityZone": { "Ref" : "AvailabilityZoneParameter" },
"Tags" : [ { "Key" : "Name", "Value" : "CloudExternal" } ]
}
},
"vlims": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"VpcId": { "Ref" : "VPCParameter" },
"CidrBlock": "10.0.1.0/24",
"MapPublicIpOnLaunch":"true",
"AvailabilityZone": { "Ref" : "AvailabilityZoneParameter" },
"Tags" : [ { "Key" : "Name", "Value" : "vlims" } ]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment