Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit 6220161

Browse files
committed
cleanup
1 parent e8be13f commit 6220161

File tree

5 files changed

+15
-14
lines changed

5 files changed

+15
-14
lines changed

chapter11/multiaz-ebs.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@
107107
},
108108
"InternetRoute": {
109109
"Type": "AWS::EC2::Route",
110-
"DependsOn": "GatewayToInternet",
111110
"Properties": {
112111
"RouteTableId": {
113112
"Ref": "RouteTable"
@@ -116,7 +115,8 @@
116115
"GatewayId": {
117116
"Ref": "InternetGateway"
118117
}
119-
}
118+
},
119+
"DependsOn": "GatewayToInternet"
120120
},
121121
"RouteTableAssociationA": {
122122
"Type": "AWS::EC2::SubnetRouteTableAssociation",

chapter11/multiaz.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@
113113
},
114114
"InternetRoute": {
115115
"Type": "AWS::EC2::Route",
116-
"DependsOn": "GatewayToInternet",
117116
"Properties": {
118117
"RouteTableId": {
119118
"Ref": "RouteTable"
@@ -122,7 +121,8 @@
122121
"GatewayId": {
123122
"Ref": "InternetGateway"
124123
}
125-
}
124+
},
125+
"DependsOn": "GatewayToInternet"
126126
},
127127
"RouteTableAssociationA": {
128128
"Type": "AWS::EC2::SubnetRouteTableAssociation",

chapter11/recovery.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@
9797
},
9898
"InternetRoute": {
9999
"Type": "AWS::EC2::Route",
100-
"DependsOn": "GatewayToInternet",
101100
"Properties": {
102101
"RouteTableId": {
103102
"Ref": "RouteTable"
@@ -106,7 +105,8 @@
106105
"GatewayId": {
107106
"Ref": "InternetGateway"
108107
}
109-
}
108+
},
109+
"DependsOn": "GatewayToInternet"
110110
},
111111
"RouteTableAssociation": {
112112
"Type": "AWS::EC2::SubnetRouteTableAssociation",
@@ -300,11 +300,11 @@
300300
},
301301
"ElasticIP": {
302302
"Type": "AWS::EC2::EIP",
303-
"DependsOn": "GatewayToInternet",
304303
"Properties": {
305304
"InstanceId": {"Ref": "Server"},
306305
"Domain": "vpc"
307-
}
306+
},
307+
"DependsOn": "GatewayToInternet"
308308
},
309309
"Server": {
310310
"Type": "AWS::EC2::Instance",
@@ -328,7 +328,8 @@
328328
"Value": "jenkins-recovery"
329329
}
330330
]
331-
}
331+
},
332+
"DependsOn": "GatewayToInternet"
332333
},
333334
"RecoveryAlarm": {
334335
"Type": "AWS::CloudWatch::Alarm",

chapter5/vpn-cloudformation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"curl -s https://raw.githubusercontent.com/AWSinAction/code/master/chapter5/vpn-setup.sh | bash -ex\n"
6161
]]}}
6262
}
63-
},
63+
},
6464
"InstanceSecurityGroup": {
6565
"Type": "AWS::EC2::SecurityGroup",
6666
"Properties": {

chapter8/nfs.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,12 @@
186186
"/opt/aws/bin/cfn-signal -e $? --stack ", {"Ref": "AWS::StackName"}, " --resource Client1 --region ", {"Ref": "AWS::Region"}, "\n"
187187
]]}}
188188
},
189-
"DependsOn": "WaitCondition",
190189
"CreationPolicy": {
191190
"ResourceSignal": {
192191
"Timeout": "PT10M"
193192
}
194-
}
193+
},
194+
"DependsOn": "WaitCondition"
195195
},
196196
"Client2": {
197197
"Type": "AWS::EC2::Instance",
@@ -210,12 +210,12 @@
210210
"/opt/aws/bin/cfn-signal -e $? --stack ", {"Ref": "AWS::StackName"}, " --resource Client2 --region ", {"Ref": "AWS::Region"}, "\n"
211211
]]}}
212212
},
213-
"DependsOn": "WaitCondition",
214213
"CreationPolicy": {
215214
"ResourceSignal": {
216215
"Timeout": "PT10M"
217216
}
218-
}
217+
},
218+
"DependsOn": "WaitCondition"
219219
}
220220
},
221221
"Outputs": {

0 commit comments

Comments
 (0)