brief-baker-41837
08/01/2022, 7:50 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.salmon-account-74572
08/01/2022, 7:56 PMbrief-baker-41837
08/01/2022, 7:58 PMvpc = 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])
security_group = aws.ec2.get_security_group(vpc_id=vpc.vpc_id)
salmon-account-74572
08/01/2022, 8:26 PMbroad-toddler-72261
08/09/2022, 2:11 AMbrief-baker-41837
08/16/2022, 4:19 PM