brief-baker-41837
08/01/2022, 8:45 PM* multiple EC2 Subnets matched; use additional constraints to reduce matches to a single EC2 Subnet
I cant seem to figure out the cause specially when this is occurring in preview itself. Please help.
vpc = awsx.ec2.Vpc("pulumi-test",cidr_block='10.2.0.0/16',subnet_specs=[
awsx.ec2.SubnetSpecArgs(
type=awsx.ec2.SubnetType.PRIVATE,
cidr_mask=26,
),
awsx.ec2.SubnetSpecArgs(
type=awsx.ec2.SubnetType.PUBLIC,
cidr_mask=26,
)
], number_of_availability_zones=1)
subnet = aws.ec2.get_subnet(id=vpc.private_subnet_ids[0])
billowy-army-68599
brief-baker-41837
08/01/2022, 9:13 PM