sparse-intern-71089
09/30/2019, 10:07 PMgentle-diamond-70147
09/30/2019, 10:43 PMlocation
, but if you specify it for one subnet, you have to specify it for all subnets - e.g.:
const vpc = new awsx.ec2.Vpc("web-vpc", {
cidrBlock: "172.30.0.0/16",
subnets: [
{ type: "public", location: { availabilityZone: "us-west-2a", cidrBlock: "172.30.0.0/24" }, },
{ type: "public", location: { availabilityZone: "us-west-2b", cidrBlock: "172.30.1.0/24" }, },
],
tags: {
Name: "web-vpc",
}
});
acceptable-army-69872
09/30/2019, 10:46 PM