Skip to content

Commit 144b6c2

Browse files
authored
Merge branch 'master' into CSharp
2 parents be299ae + 5475a12 commit 144b6c2

File tree

2 files changed

+46
-32
lines changed

2 files changed

+46
-32
lines changed

python/ecs/cluster/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __init__(self, scope: core.Construct, id: str, **kwargs) -> None:
2424
update_type=autoscaling.UpdateType.REPLACING_UPDATE,
2525
desired_capacity=3,
2626
vpc=vpc,
27-
vpc_subnets={'subnetType': ec2.SubnetType.PUBLIC}
27+
vpc_subnets={ 'subnet_type': ec2.SubnetType.PUBLIC },
2828
)
2929

3030
cluster = ecs.Cluster(
Lines changed: 45 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,50 @@
11
{
2-
"vpc-provider:account=111111111111:filter.vpc-id=vpc-11111111111111111:region=us-east-1": {
2+
"vpc-provider:account=111111111111:filter.vpc-id=vpc-11111111111111111:region=us-east-1:returnAsymmetricSubnets=true": {
33
"vpcId": "vpc-11111111111111111",
4-
"availabilityZones": [
5-
"us-east-1a",
6-
"us-east-1b",
7-
"us-east-1c"
8-
],
9-
"privateSubnetIds": [
10-
"subnet-0096fdd5c93924860",
11-
"subnet-0b4f435f11e937151",
12-
"subnet-0136992e35ea88fe2"
13-
],
14-
"privateSubnetNames": [
15-
"Private"
16-
],
17-
"privateSubnetRouteTableIds": [
18-
"rtb-09d0493b9c095c1fa",
19-
"rtb-0dec4782dc826b93b",
20-
"rtb-035992729886f3420"
21-
],
22-
"publicSubnetIds": [
23-
"subnet-0240a38329b9e2841",
24-
"subnet-0328da1132e7d38c2",
25-
"subnet-0ff88de2b066463c9"
26-
],
27-
"publicSubnetNames": [
28-
"Public"
29-
],
30-
"publicSubnetRouteTableIds": [
31-
"rtb-037fe65bfb5728835",
32-
"rtb-07ccdcadf111c8e21",
33-
"rtb-0232970151c7ef3fd"
4+
"availabilityZones": [],
5+
"subnetGroups": [
6+
{
7+
"name": "Public",
8+
"type": "Public",
9+
"subnets": [
10+
{
11+
"subnetId": "subnet-0240a38329b9e2841",
12+
"availabilityZone": "us-east-1a",
13+
"routeTableId": "rtb-037fe65bfb5728835"
14+
},
15+
{
16+
"subnetId": "subnet-0328da1132e7d38c2",
17+
"availabilityZone": "us-east-1b",
18+
"routeTableId": "rtb-07ccdcadf111c8e21"
19+
},
20+
{
21+
"subnetId": "subnet-0ff88de2b066463c9",
22+
"availabilityZone": "us-east-1c",
23+
"routeTableId": "rtb-0232970151c7ef3fd"
24+
}
25+
]
26+
},
27+
{
28+
"name": "Private",
29+
"type": "Private",
30+
"subnets": [
31+
{
32+
"subnetId": "subnet-0096fdd5c93924860",
33+
"availabilityZone": "us-east-1a",
34+
"routeTableId": "rtb-09d0493b9c095c1fa"
35+
},
36+
{
37+
"subnetId": "subnet-0b4f435f11e937151",
38+
"availabilityZone": "us-east-1b",
39+
"routeTableId": "rtb-0dec4782dc826b93b"
40+
},
41+
{
42+
"subnetId": "subnet-0136992e35ea88fe2",
43+
"availabilityZone": "us-east-1c",
44+
"routeTableId": "rtb-035992729886f3420"
45+
}
46+
]
47+
}
3448
]
3549
}
3650
}

0 commit comments

Comments
 (0)