Skip to content

Commit

Permalink
Merge branch 'master' into CSharp
Browse files Browse the repository at this point in the history
  • Loading branch information
rhboyd authored Nov 23, 2019
2 parents be299ae + 5475a12 commit 144b6c2
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 32 deletions.
2 changes: 1 addition & 1 deletion python/ecs/cluster/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, scope: core.Construct, id: str, **kwargs) -> None:
update_type=autoscaling.UpdateType.REPLACING_UPDATE,
desired_capacity=3,
vpc=vpc,
vpc_subnets={'subnetType': ec2.SubnetType.PUBLIC}
vpc_subnets={ 'subnet_type': ec2.SubnetType.PUBLIC },
)

cluster = ecs.Cluster(
Expand Down
76 changes: 45 additions & 31 deletions python/url-shortener/cdk.context.json
Original file line number Diff line number Diff line change
@@ -1,36 +1,50 @@
{
"vpc-provider:account=111111111111:filter.vpc-id=vpc-11111111111111111:region=us-east-1": {
"vpc-provider:account=111111111111:filter.vpc-id=vpc-11111111111111111:region=us-east-1:returnAsymmetricSubnets=true": {
"vpcId": "vpc-11111111111111111",
"availabilityZones": [
"us-east-1a",
"us-east-1b",
"us-east-1c"
],
"privateSubnetIds": [
"subnet-0096fdd5c93924860",
"subnet-0b4f435f11e937151",
"subnet-0136992e35ea88fe2"
],
"privateSubnetNames": [
"Private"
],
"privateSubnetRouteTableIds": [
"rtb-09d0493b9c095c1fa",
"rtb-0dec4782dc826b93b",
"rtb-035992729886f3420"
],
"publicSubnetIds": [
"subnet-0240a38329b9e2841",
"subnet-0328da1132e7d38c2",
"subnet-0ff88de2b066463c9"
],
"publicSubnetNames": [
"Public"
],
"publicSubnetRouteTableIds": [
"rtb-037fe65bfb5728835",
"rtb-07ccdcadf111c8e21",
"rtb-0232970151c7ef3fd"
"availabilityZones": [],
"subnetGroups": [
{
"name": "Public",
"type": "Public",
"subnets": [
{
"subnetId": "subnet-0240a38329b9e2841",
"availabilityZone": "us-east-1a",
"routeTableId": "rtb-037fe65bfb5728835"
},
{
"subnetId": "subnet-0328da1132e7d38c2",
"availabilityZone": "us-east-1b",
"routeTableId": "rtb-07ccdcadf111c8e21"
},
{
"subnetId": "subnet-0ff88de2b066463c9",
"availabilityZone": "us-east-1c",
"routeTableId": "rtb-0232970151c7ef3fd"
}
]
},
{
"name": "Private",
"type": "Private",
"subnets": [
{
"subnetId": "subnet-0096fdd5c93924860",
"availabilityZone": "us-east-1a",
"routeTableId": "rtb-09d0493b9c095c1fa"
},
{
"subnetId": "subnet-0b4f435f11e937151",
"availabilityZone": "us-east-1b",
"routeTableId": "rtb-0dec4782dc826b93b"
},
{
"subnetId": "subnet-0136992e35ea88fe2",
"availabilityZone": "us-east-1c",
"routeTableId": "rtb-035992729886f3420"
}
]
}
]
}
}

0 comments on commit 144b6c2

Please sign in to comment.