Skip to content

Commit

Permalink
Rename some resource labels to make them clearer to understand
Browse files Browse the repository at this point in the history
  • Loading branch information
shankari committed Dec 27, 2017
1 parent 75d19de commit 7a32bb6
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions setup/aws-cloud-formation.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
},
"Resources": {
"vpcc9dca6b1": {
"OneVpcToRuleThemAll": {
"Type": "AWS::EC2::VPC",
"Properties": {
"CidrBlock": "192.168.0.0/16",
Expand All @@ -39,13 +39,13 @@
"CidrBlock": "192.168.0.0/24",
"AvailabilityZone": "us-east-1d",
"VpcId": {
"Ref": "vpcc9dca6b1"
"Ref": "OneVpcToRuleThemAll"
},
"Tags": [
{
"Key": "Name",
"Value": { "Fn::Join" : ["", [
{ "Ref" : "Prefix" }, "-publicsubnet1"
{ "Ref" : "Prefix" }, "-public-subnet"
]]}
},
{
Expand All @@ -55,13 +55,13 @@
]
}
},
"subnete6dd73bb": {
"privatesubnet1": {
"Type": "AWS::EC2::Subnet",
"Properties": {
"CidrBlock": "192.168.1.0/24",
"AvailabilityZone": "us-east-1d",
"VpcId": {
"Ref": "vpcc9dca6b1"
"Ref": "OneVpcToRuleThemAll"
},
"Tags": [
{
Expand Down Expand Up @@ -104,7 +104,7 @@
"Type": "AWS::EC2::EgressOnlyInternetGateway",
"Properties": {
"VpcId": {
"Ref": "vpcc9dca6b1"
"Ref": "OneVpcToRuleThemAll"
}
}
},
Expand All @@ -121,15 +121,15 @@
"Type": "AWS::EC2::NetworkAcl",
"Properties": {
"VpcId": {
"Ref": "vpcc9dca6b1"
"Ref": "OneVpcToRuleThemAll"
}
}
},
"rtb2050b95d": {
"Type": "AWS::EC2::RouteTable",
"Properties": {
"VpcId": {
"Ref": "vpcc9dca6b1"
"Ref": "OneVpcToRuleThemAll"
},
"Tags": [
{
Expand All @@ -150,7 +150,7 @@
"Type": "AWS::EC2::RouteTable",
"Properties": {
"VpcId": {
"Ref": "vpcc9dca6b1"
"Ref": "OneVpcToRuleThemAll"
},
"Tags": [
{
Expand Down Expand Up @@ -406,7 +406,7 @@
"Description": "Primary network interface",
"DeviceIndex": 0,
"SubnetId": {
"Ref": "subnete6dd73bb"
"Ref": "privatesubnet1"
},
"PrivateIpAddresses": [
{
Expand Down Expand Up @@ -631,7 +631,7 @@
"Properties": {
"GroupDescription": "open data collection database",
"VpcId": {
"Ref": "vpcc9dca6b1"
"Ref": "OneVpcToRuleThemAll"
},
"Tags": [
{
Expand All @@ -652,7 +652,7 @@
"Properties": {
"GroupDescription": "security group for the webserver for open data collectio",
"VpcId": {
"Ref": "vpcc9dca6b1"
"Ref": "OneVpcToRuleThemAll"
},
"Tags": [
{
Expand All @@ -673,7 +673,7 @@
"Properties": {
"GroupDescription": "security group for the analysis server for open data collection",
"VpcId": {
"Ref": "vpcc9dca6b1"
"Ref": "OneVpcToRuleThemAll"
},
"Tags": [
{
Expand All @@ -694,7 +694,7 @@
"Properties": {
"GroupDescription": "security group for the public server for open data collection",
"VpcId": {
"Ref": "vpcc9dca6b1"
"Ref": "OneVpcToRuleThemAll"
},
"Tags": [
{
Expand Down Expand Up @@ -753,15 +753,15 @@
"Ref": "acl86bf7efd"
},
"SubnetId": {
"Ref": "subnete6dd73bb"
"Ref": "privatesubnet1"
}
}
},
"gw1": {
"Type": "AWS::EC2::VPCGatewayAttachment",
"Properties": {
"VpcId": {
"Ref": "vpcc9dca6b1"
"Ref": "OneVpcToRuleThemAll"
},
"InternetGatewayId": {
"Ref": "igw362a534f"
Expand Down Expand Up @@ -812,7 +812,7 @@
"Ref": "rtbf15ab38c"
},
"SubnetId": {
"Ref": "subnete6dd73bb"
"Ref": "privatesubnet1"
}
}
},
Expand Down Expand Up @@ -846,7 +846,7 @@
"Type": "AWS::EC2::VPCDHCPOptionsAssociation",
"Properties": {
"VpcId": {
"Ref": "vpcc9dca6b1"
"Ref": "OneVpcToRuleThemAll"
},
"DhcpOptionsId": {
"Ref": "dopt170af572"
Expand Down

0 comments on commit 7a32bb6

Please sign in to comment.