Skip to content

Commit 33ef7de

Browse files
committed
update vpc snapshot
1 parent bb4a645 commit 33ef7de

7 files changed

+12
-77
lines changed

packages/@aws-cdk/aws-ec2-alpha/test/integ.vpc-shared-route-table.js.snapshot/VpcSharedRouteTableIntegDefaultTestDeployAssert4BB1B1C8.assets.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk/aws-ec2-alpha/test/integ.vpc-shared-route-table.js.snapshot/VpcSharedRouteTableIntegDefaultTestDeployAssert4BB1B1C8.template.json

Lines changed: 1 addition & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk/aws-ec2-alpha/test/integ.vpc-shared-route-table.js.snapshot/aws-cdk-ec2-alpha-shared-route-table.assets.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk/aws-ec2-alpha/test/integ.vpc-shared-route-table.js.snapshot/aws-cdk-ec2-alpha-shared-route-table.template.json

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@
1515
]
1616
}
1717
},
18-
"VPCAmazonProvided4AD17A46": {
19-
"Type": "AWS::EC2::VPCCidrBlock",
20-
"Properties": {
21-
"AmazonProvidedIpv6CidrBlock": true,
22-
"VpcId": {
23-
"Fn::GetAtt": [
24-
"VPCB9E5F0B4",
25-
"VpcId"
26-
]
27-
}
28-
}
29-
},
3018
"VPCInternetGatewayIGW3C1F5485": {
3119
"Type": "AWS::EC2::InternetGateway",
3220
"Properties": {
@@ -116,10 +104,7 @@
116104
"VpcId"
117105
]
118106
}
119-
},
120-
"DependsOn": [
121-
"VPCAmazonProvided4AD17A46"
122-
]
107+
}
123108
},
124109
"PublicSubnet1RouteTableAssociation0E73B917": {
125110
"Type": "AWS::EC2::SubnetRouteTableAssociation",
@@ -133,10 +118,7 @@
133118
"SubnetId": {
134119
"Ref": "PublicSubnet1Subnet03067927"
135120
}
136-
},
137-
"DependsOn": [
138-
"VPCAmazonProvided4AD17A46"
139-
]
121+
}
140122
},
141123
"PublicSubnet2Subnet78B4B4BD": {
142124
"Type": "AWS::EC2::Subnet",
@@ -160,10 +142,7 @@
160142
"VpcId"
161143
]
162144
}
163-
},
164-
"DependsOn": [
165-
"VPCAmazonProvided4AD17A46"
166-
]
145+
}
167146
},
168147
"PublicSubnet2RouteTableAssociation1339F17B": {
169148
"Type": "AWS::EC2::SubnetRouteTableAssociation",
@@ -177,10 +156,7 @@
177156
"SubnetId": {
178157
"Ref": "PublicSubnet2Subnet78B4B4BD"
179158
}
180-
},
181-
"DependsOn": [
182-
"VPCAmazonProvided4AD17A46"
183-
]
159+
}
184160
}
185161
},
186162
"Outputs": {

packages/@aws-cdk/aws-ec2-alpha/test/integ.vpc-shared-route-table.js.snapshot/manifest.json

Lines changed: 2 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk/aws-ec2-alpha/test/integ.vpc-shared-route-table.js.snapshot/tree.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk/aws-ec2-alpha/test/integ.vpc-shared-route-table.ts

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ const stack = new cdk.Stack(app, 'aws-cdk-ec2-alpha-shared-route-table');
1717

1818
const vpc = new vpc_v2.VpcV2(stack, 'VPC', {
1919
primaryAddressBlock: vpc_v2.IpAddresses.ipv4('10.1.0.0/16'),
20-
secondaryAddressBlocks: [
21-
vpc_v2.IpAddresses.amazonProvidedIpv6({
22-
cidrBlockName: 'AmazonProvided',
23-
}),
24-
],
2520
enableDnsHostnames: true,
2621
enableDnsSupport: true,
2722
vpcName: 'SharedRouteTableVPC',
@@ -66,26 +61,11 @@ const rtbassertion = integ.assertions.awsApiCall('ec2', 'DescribeRouteTablesComm
6661
RouteTableIds: [sharedRouteTable.routeTableId],
6762
});
6863

69-
rtbassertion.expect(ExpectedResult.objectLike({
70-
RouteTables: [
71-
Match.objectLike({
72-
RouteTableId: sharedRouteTable.routeTableId,
73-
Routes: Match.arrayWith([
74-
Match.objectLike({
75-
DestinationCidrBlock: '0.0.0.0/0',
76-
GatewayId: vpc.internetGatewayId,
77-
}),
78-
]),
79-
}),
80-
],
81-
}));
82-
8364
// Verify that there's exactly one default route (0.0.0.0/0) in the route table
8465
rtbassertion.expect(ExpectedResult.objectLike({
8566
RouteTables: [
8667
Match.objectLike({
8768
Routes: [
88-
// Local route (automatically created)
8969
{
9070
DestinationCidrBlock: '10.1.0.0/16',
9171
GatewayId: 'local',
@@ -95,11 +75,6 @@ rtbassertion.expect(ExpectedResult.objectLike({
9575
DestinationCidrBlock: '0.0.0.0/0',
9676
GatewayId: vpc.internetGatewayId,
9777
},
98-
// IPv6 default route (if IPv6 is enabled)
99-
{
100-
DestinationIpv6CidrBlock: '::/0',
101-
GatewayId: vpc.internetGatewayId,
102-
},
10378
],
10479
}),
10580
],

0 commit comments

Comments
 (0)