Created
January 24, 2018 17:38
-
-
Save roustem/23c74f18a66b286a03d7f6f4ee2a6a88 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| "B5AppSubnet1": { | |
| "Type": "AWS::EC2::Subnet", | |
| "Properties": { | |
| "CidrBlock": { "Fn::Select" : ["0", { "Fn::FindInMap" : [ "SubnetCidr", { "Ref" : "Env" }, "b5app"] }] }, | |
| "AvailabilityZone": { "Fn::Select" : [ "0", { "Fn::GetAZs" : "" } ]}, | |
| "VpcId": { "Ref": "Vpc" }, | |
| "Tags": [ | |
| { "Key" : "Application", "Value" : "B5" }, | |
| { "Key" : "env", "Value": { "Ref" : "Env" } }, | |
| { "Key" : "Name", "Value": { "Fn::Join" : ["-", [ {"Ref" : "Env"}, "b5", "b5app-subnet1"]] } } | |
| ] | |
| } | |
| }, | |
| "B5AppSubnet2": { | |
| "Type": "AWS::EC2::Subnet", | |
| "Properties": { | |
| "CidrBlock": { "Fn::Select" : ["1", { "Fn::FindInMap" : [ "SubnetCidr", { "Ref" : "Env" }, "b5app"] }] }, | |
| "AvailabilityZone": { "Fn::Select" : [ "1", { "Fn::GetAZs" : "" } ]}, | |
| "VpcId": { "Ref": "Vpc" }, | |
| "Tags": [ | |
| { "Key" : "Application", "Value" : "B5" }, | |
| { "Key" : "env", "Value": { "Ref" : "Env" } }, | |
| { "Key" : "Name", "Value": { "Fn::Join" : ["-", [ {"Ref" : "Env"}, "b5", "b5app-subnet2"]] } } | |
| ] | |
| } | |
| }, | |
| "B5AppSubnet3": { | |
| "Type": "AWS::EC2::Subnet", | |
| "Properties": { | |
| "CidrBlock": { "Fn::Select" : ["2", { "Fn::FindInMap" : [ "SubnetCidr", { "Ref" : "Env" }, "b5app"] }] }, | |
| "AvailabilityZone": { "Fn::Select" : [ "2", { "Fn::GetAZs" : "" } ]}, | |
| "VpcId": { "Ref": "Vpc" }, | |
| "Tags": [ | |
| { "Key" : "Application", "Value" : "B5" }, | |
| { "Key" : "env", "Value": { "Ref" : "Env" } }, | |
| { "Key" : "Name", "Value": { "Fn::Join" : ["-", [ {"Ref" : "Env"}, "b5", "b5app-subnet3"]] } } | |
| ] | |
| } | |
| }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment