Skip to content

Commit ebbe2e7

Browse files
Merge pull request #47 from carlosafonso/master
Fix invalid syntax
2 parents be361df + 0f9448f commit ebbe2e7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

cfn-templates/Lab0-baseline-setup.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ Resources:
123123
DestinationCidrBlock: 0.0.0.0/0
124124
GatewayId: !Ref InternetGateway
125125
Type: AWS::EC2::Route
126-
DependsOn: PublicRouteTable
126+
DependsOn:
127+
- PublicRouteTable
128+
- GatewayToInternet
127129

128130
PubSubnet1RTAssoc:
129131
Properties:
@@ -176,7 +178,7 @@ Resources:
176178
Properties:
177179
AllocationId: !GetAtt NATGateway1EIP.AllocationId
178180
SubnetId: !Ref PubSubnet1
179-
DependsOn:PubSubnet1
181+
DependsOn: PubSubnet1
180182

181183
PrivateRoute1:
182184
Properties:

0 commit comments

Comments
 (0)