Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Adrian Cantrill networking cfn 5eac77f Jan 19, 2019
0 contributors

Users who have contributed to this file

46 lines (46 sloc) 1.41 KB
{
"Resources" : {
"vpc2" : {
"Type" : "AWS::EC2::VPC",
"Properties" : {
"CidrBlock" : "192.168.0.0/16",
"EnableDnsSupport" : true,
"EnableDnsHostnames" : true,
"InstanceTenancy" : "default",
"Tags" : [ {"Key" : "Name", "Value" : "vpc2"} ]
}
},
"vpc2snA1" : {
"Type" : "AWS::EC2::Subnet",
"Properties" : {
"VpcId" : {"Ref" : "vpc2"},
"Tags" : [ {"Key" : "Name", "Value" : "vpc2_sn_A1"} ],
"AvailabilityZone" : {
"Fn::Select" : [
"0",
{
"Fn::GetAZs" : ""
}
]
},
"CidrBlock" : "192.168.10.0/24"
}
},
"vpc2snA2" : {
"Type" : "AWS::EC2::Subnet",
"Properties" : {
"VpcId" : {"Ref" : "vpc2"},
"Tags" : [ {"Key" : "Name", "Value" : "vpc2_sn_A2"} ],
"AvailabilityZone" : {
"Fn::Select" : [
"0",
{
"Fn::GetAZs" : ""
}
]
},
"CidrBlock" : "192.168.11.0/24"
}
}
}
}
You can’t perform that action at this time.