Skip to content

Commit bebfef0

Browse files
authored
fix(aws-ec2): fix typo in resource identifier (#818)
This will mutate deployed VPC resources, but I verified that the route table association can be replaced without the deployment getting stuck. I did not verify it does not have on impact on availability for the duration.
1 parent a67b2d9 commit bebfef0

File tree

10 files changed

+41
-41
lines changed

10 files changed

+41
-41
lines changed

Diff for: packages/@aws-cdk/aws-autoscaling/test/integ.asg-w-classic-loadbalancer.expected.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
]
4747
}
4848
},
49-
"VPCPublicSubnet1RouteTableAssociatioin249B4093": {
49+
"VPCPublicSubnet1RouteTableAssociation0B0896DC": {
5050
"Type": "AWS::EC2::SubnetRouteTableAssociation",
5151
"Properties": {
5252
"RouteTableId": {
@@ -126,7 +126,7 @@
126126
]
127127
}
128128
},
129-
"VPCPublicSubnet2RouteTableAssociatioin766225D7": {
129+
"VPCPublicSubnet2RouteTableAssociation5A808732": {
130130
"Type": "AWS::EC2::SubnetRouteTableAssociation",
131131
"Properties": {
132132
"RouteTableId": {
@@ -206,7 +206,7 @@
206206
]
207207
}
208208
},
209-
"VPCPublicSubnet3RouteTableAssociatioinF4E24B3B": {
209+
"VPCPublicSubnet3RouteTableAssociation427FE0C6": {
210210
"Type": "AWS::EC2::SubnetRouteTableAssociation",
211211
"Properties": {
212212
"RouteTableId": {
@@ -286,7 +286,7 @@
286286
]
287287
}
288288
},
289-
"VPCPrivateSubnet1RouteTableAssociatioin77F7CA18": {
289+
"VPCPrivateSubnet1RouteTableAssociation347902D1": {
290290
"Type": "AWS::EC2::SubnetRouteTableAssociation",
291291
"Properties": {
292292
"RouteTableId": {
@@ -340,7 +340,7 @@
340340
]
341341
}
342342
},
343-
"VPCPrivateSubnet2RouteTableAssociatioinC31995B4": {
343+
"VPCPrivateSubnet2RouteTableAssociation0C73D413": {
344344
"Type": "AWS::EC2::SubnetRouteTableAssociation",
345345
"Properties": {
346346
"RouteTableId": {
@@ -394,7 +394,7 @@
394394
]
395395
}
396396
},
397-
"VPCPrivateSubnet3RouteTableAssociatioin3B0B6B38": {
397+
"VPCPrivateSubnet3RouteTableAssociationC28D144E": {
398398
"Type": "AWS::EC2::SubnetRouteTableAssociation",
399399
"Properties": {
400400
"RouteTableId": {

Diff for: packages/@aws-cdk/aws-autoscaling/test/integ.asg-w-elbv2.expected.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
]
4747
}
4848
},
49-
"VPCPublicSubnet1RouteTableAssociatioin249B4093": {
49+
"VPCPublicSubnet1RouteTableAssociation0B0896DC": {
5050
"Type": "AWS::EC2::SubnetRouteTableAssociation",
5151
"Properties": {
5252
"RouteTableId": {
@@ -126,7 +126,7 @@
126126
]
127127
}
128128
},
129-
"VPCPublicSubnet2RouteTableAssociatioin766225D7": {
129+
"VPCPublicSubnet2RouteTableAssociation5A808732": {
130130
"Type": "AWS::EC2::SubnetRouteTableAssociation",
131131
"Properties": {
132132
"RouteTableId": {
@@ -206,7 +206,7 @@
206206
]
207207
}
208208
},
209-
"VPCPrivateSubnet1RouteTableAssociatioin77F7CA18": {
209+
"VPCPrivateSubnet1RouteTableAssociation347902D1": {
210210
"Type": "AWS::EC2::SubnetRouteTableAssociation",
211211
"Properties": {
212212
"RouteTableId": {
@@ -260,7 +260,7 @@
260260
]
261261
}
262262
},
263-
"VPCPrivateSubnet2RouteTableAssociatioinC31995B4": {
263+
"VPCPrivateSubnet2RouteTableAssociation0C73D413": {
264264
"Type": "AWS::EC2::SubnetRouteTableAssociation",
265265
"Properties": {
266266
"RouteTableId": {

Diff for: packages/@aws-cdk/aws-ec2/lib/vpc.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ export class VpcSubnet extends VpcSubnetRef implements cdk.ITaggable {
486486
this.routeTableId = table.ref;
487487

488488
// Associate the public route table for this subnet, to this subnet
489-
const routeAssoc = new cloudformation.SubnetRouteTableAssociationResource(this, 'RouteTableAssociatioin', {
489+
const routeAssoc = new cloudformation.SubnetRouteTableAssociationResource(this, 'RouteTableAssociation', {
490490
subnetId: this.subnetId,
491491
routeTableId: table.ref
492492
});

Diff for: packages/@aws-cdk/aws-ec2/test/integ.vpc.expected.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
]
4747
}
4848
},
49-
"MyVpcPublicSubnet1RouteTableAssociatioin3562612E": {
49+
"MyVpcPublicSubnet1RouteTableAssociation2ECEE1CB": {
5050
"Type": "AWS::EC2::SubnetRouteTableAssociation",
5151
"Properties": {
5252
"RouteTableId": {
@@ -126,7 +126,7 @@
126126
]
127127
}
128128
},
129-
"MyVpcPublicSubnet2RouteTableAssociatioin8E74FB35": {
129+
"MyVpcPublicSubnet2RouteTableAssociation227DE78D": {
130130
"Type": "AWS::EC2::SubnetRouteTableAssociation",
131131
"Properties": {
132132
"RouteTableId": {
@@ -206,7 +206,7 @@
206206
]
207207
}
208208
},
209-
"MyVpcPublicSubnet3RouteTableAssociatioinA3FD1B71": {
209+
"MyVpcPublicSubnet3RouteTableAssociation5C27DDA4": {
210210
"Type": "AWS::EC2::SubnetRouteTableAssociation",
211211
"Properties": {
212212
"RouteTableId": {
@@ -286,7 +286,7 @@
286286
]
287287
}
288288
},
289-
"MyVpcPrivateSubnet1RouteTableAssociatioin90CF6BAB": {
289+
"MyVpcPrivateSubnet1RouteTableAssociation56D38C7E": {
290290
"Type": "AWS::EC2::SubnetRouteTableAssociation",
291291
"Properties": {
292292
"RouteTableId": {
@@ -340,7 +340,7 @@
340340
]
341341
}
342342
},
343-
"MyVpcPrivateSubnet2RouteTableAssociatioin803693C0": {
343+
"MyVpcPrivateSubnet2RouteTableAssociation86A610DA": {
344344
"Type": "AWS::EC2::SubnetRouteTableAssociation",
345345
"Properties": {
346346
"RouteTableId": {
@@ -394,7 +394,7 @@
394394
]
395395
}
396396
},
397-
"MyVpcPrivateSubnet3RouteTableAssociatioinFB4A6FE6": {
397+
"MyVpcPrivateSubnet3RouteTableAssociationD951741C": {
398398
"Type": "AWS::EC2::SubnetRouteTableAssociation",
399399
"Properties": {
400400
"RouteTableId": {

Diff for: packages/@aws-cdk/aws-elasticloadbalancing/test/integ.elb.expected.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
]
4747
}
4848
},
49-
"VPCPublicSubnet1RouteTableAssociatioin249B4093": {
49+
"VPCPublicSubnet1RouteTableAssociation0B0896DC": {
5050
"Type": "AWS::EC2::SubnetRouteTableAssociation",
5151
"Properties": {
5252
"RouteTableId": {
@@ -126,7 +126,7 @@
126126
]
127127
}
128128
},
129-
"VPCPrivateSubnet1RouteTableAssociatioin77F7CA18": {
129+
"VPCPrivateSubnet1RouteTableAssociation347902D1": {
130130
"Type": "AWS::EC2::SubnetRouteTableAssociation",
131131
"Properties": {
132132
"RouteTableId": {

Diff for: packages/@aws-cdk/aws-elasticloadbalancingv2/test/integ.alb.expected.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
]
4747
}
4848
},
49-
"VPCPublicSubnet1RouteTableAssociatioin249B4093": {
49+
"VPCPublicSubnet1RouteTableAssociation0B0896DC": {
5050
"Type": "AWS::EC2::SubnetRouteTableAssociation",
5151
"Properties": {
5252
"RouteTableId": {
@@ -126,7 +126,7 @@
126126
]
127127
}
128128
},
129-
"VPCPublicSubnet2RouteTableAssociatioin766225D7": {
129+
"VPCPublicSubnet2RouteTableAssociation5A808732": {
130130
"Type": "AWS::EC2::SubnetRouteTableAssociation",
131131
"Properties": {
132132
"RouteTableId": {
@@ -206,7 +206,7 @@
206206
]
207207
}
208208
},
209-
"VPCPrivateSubnet1RouteTableAssociatioin77F7CA18": {
209+
"VPCPrivateSubnet1RouteTableAssociation347902D1": {
210210
"Type": "AWS::EC2::SubnetRouteTableAssociation",
211211
"Properties": {
212212
"RouteTableId": {
@@ -260,7 +260,7 @@
260260
]
261261
}
262262
},
263-
"VPCPrivateSubnet2RouteTableAssociatioinC31995B4": {
263+
"VPCPrivateSubnet2RouteTableAssociation0C73D413": {
264264
"Type": "AWS::EC2::SubnetRouteTableAssociation",
265265
"Properties": {
266266
"RouteTableId": {

Diff for: packages/@aws-cdk/aws-elasticloadbalancingv2/test/integ.nlb.expected.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
]
4747
}
4848
},
49-
"VPCPublicSubnet1RouteTableAssociatioin249B4093": {
49+
"VPCPublicSubnet1RouteTableAssociation0B0896DC": {
5050
"Type": "AWS::EC2::SubnetRouteTableAssociation",
5151
"Properties": {
5252
"RouteTableId": {
@@ -126,7 +126,7 @@
126126
]
127127
}
128128
},
129-
"VPCPublicSubnet2RouteTableAssociatioin766225D7": {
129+
"VPCPublicSubnet2RouteTableAssociation5A808732": {
130130
"Type": "AWS::EC2::SubnetRouteTableAssociation",
131131
"Properties": {
132132
"RouteTableId": {
@@ -206,7 +206,7 @@
206206
]
207207
}
208208
},
209-
"VPCPrivateSubnet1RouteTableAssociatioin77F7CA18": {
209+
"VPCPrivateSubnet1RouteTableAssociation347902D1": {
210210
"Type": "AWS::EC2::SubnetRouteTableAssociation",
211211
"Properties": {
212212
"RouteTableId": {
@@ -260,7 +260,7 @@
260260
]
261261
}
262262
},
263-
"VPCPrivateSubnet2RouteTableAssociatioinC31995B4": {
263+
"VPCPrivateSubnet2RouteTableAssociation0C73D413": {
264264
"Type": "AWS::EC2::SubnetRouteTableAssociation",
265265
"Properties": {
266266
"RouteTableId": {

Diff for: packages/@aws-cdk/aws-lambda/test/integ.vpc-lambda.expected.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
]
4747
}
4848
},
49-
"VPCPublicSubnet1RouteTableAssociatioin249B4093": {
49+
"VPCPublicSubnet1RouteTableAssociation0B0896DC": {
5050
"Type": "AWS::EC2::SubnetRouteTableAssociation",
5151
"Properties": {
5252
"RouteTableId": {
@@ -126,7 +126,7 @@
126126
]
127127
}
128128
},
129-
"VPCPublicSubnet2RouteTableAssociatioin766225D7": {
129+
"VPCPublicSubnet2RouteTableAssociation5A808732": {
130130
"Type": "AWS::EC2::SubnetRouteTableAssociation",
131131
"Properties": {
132132
"RouteTableId": {
@@ -206,7 +206,7 @@
206206
]
207207
}
208208
},
209-
"VPCPrivateSubnet1RouteTableAssociatioin77F7CA18": {
209+
"VPCPrivateSubnet1RouteTableAssociation347902D1": {
210210
"Type": "AWS::EC2::SubnetRouteTableAssociation",
211211
"Properties": {
212212
"RouteTableId": {
@@ -260,7 +260,7 @@
260260
]
261261
}
262262
},
263-
"VPCPrivateSubnet2RouteTableAssociatioinC31995B4": {
263+
"VPCPrivateSubnet2RouteTableAssociation0C73D413": {
264264
"Type": "AWS::EC2::SubnetRouteTableAssociation",
265265
"Properties": {
266266
"RouteTableId": {

Diff for: packages/@aws-cdk/aws-rds/test/integ.cluster.expected.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
]
4747
}
4848
},
49-
"VPCPublicSubnet1RouteTableAssociatioin249B4093": {
49+
"VPCPublicSubnet1RouteTableAssociation0B0896DC": {
5050
"Type": "AWS::EC2::SubnetRouteTableAssociation",
5151
"Properties": {
5252
"RouteTableId": {
@@ -126,7 +126,7 @@
126126
]
127127
}
128128
},
129-
"VPCPublicSubnet2RouteTableAssociatioin766225D7": {
129+
"VPCPublicSubnet2RouteTableAssociation5A808732": {
130130
"Type": "AWS::EC2::SubnetRouteTableAssociation",
131131
"Properties": {
132132
"RouteTableId": {
@@ -206,7 +206,7 @@
206206
]
207207
}
208208
},
209-
"VPCPrivateSubnet1RouteTableAssociatioin77F7CA18": {
209+
"VPCPrivateSubnet1RouteTableAssociation347902D1": {
210210
"Type": "AWS::EC2::SubnetRouteTableAssociation",
211211
"Properties": {
212212
"RouteTableId": {
@@ -260,7 +260,7 @@
260260
]
261261
}
262262
},
263-
"VPCPrivateSubnet2RouteTableAssociatioinC31995B4": {
263+
"VPCPrivateSubnet2RouteTableAssociation0C73D413": {
264264
"Type": "AWS::EC2::SubnetRouteTableAssociation",
265265
"Properties": {
266266
"RouteTableId": {

Diff for: packages/@aws-cdk/aws-route53/test/integ.route53.expected.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
]
4747
}
4848
},
49-
"VPCPublicSubnet1RouteTableAssociatioin249B4093": {
49+
"VPCPublicSubnet1RouteTableAssociation0B0896DC": {
5050
"Type": "AWS::EC2::SubnetRouteTableAssociation",
5151
"Properties": {
5252
"RouteTableId": {
@@ -126,7 +126,7 @@
126126
]
127127
}
128128
},
129-
"VPCPublicSubnet2RouteTableAssociatioin766225D7": {
129+
"VPCPublicSubnet2RouteTableAssociation5A808732": {
130130
"Type": "AWS::EC2::SubnetRouteTableAssociation",
131131
"Properties": {
132132
"RouteTableId": {
@@ -206,7 +206,7 @@
206206
]
207207
}
208208
},
209-
"VPCPublicSubnet3RouteTableAssociatioinF4E24B3B": {
209+
"VPCPublicSubnet3RouteTableAssociation427FE0C6": {
210210
"Type": "AWS::EC2::SubnetRouteTableAssociation",
211211
"Properties": {
212212
"RouteTableId": {
@@ -286,7 +286,7 @@
286286
]
287287
}
288288
},
289-
"VPCPrivateSubnet1RouteTableAssociatioin77F7CA18": {
289+
"VPCPrivateSubnet1RouteTableAssociation347902D1": {
290290
"Type": "AWS::EC2::SubnetRouteTableAssociation",
291291
"Properties": {
292292
"RouteTableId": {
@@ -340,7 +340,7 @@
340340
]
341341
}
342342
},
343-
"VPCPrivateSubnet2RouteTableAssociatioinC31995B4": {
343+
"VPCPrivateSubnet2RouteTableAssociation0C73D413": {
344344
"Type": "AWS::EC2::SubnetRouteTableAssociation",
345345
"Properties": {
346346
"RouteTableId": {
@@ -394,7 +394,7 @@
394394
]
395395
}
396396
},
397-
"VPCPrivateSubnet3RouteTableAssociatioin3B0B6B38": {
397+
"VPCPrivateSubnet3RouteTableAssociationC28D144E": {
398398
"Type": "AWS::EC2::SubnetRouteTableAssociation",
399399
"Properties": {
400400
"RouteTableId": {

0 commit comments

Comments
 (0)