https://pulumi.com logo
#aws
Title
# aws
m

millions-furniture-75402

08/23/2021, 12:57 PM
I was excited to get an email from Pulumipus about how aws crosswalk makes managing VPCs easier... however, I was disappointed to find getting a subnet type in a particular AZ is still based on the order of the array. e.g.
pulumi.ouput(vpc.publicSubnetIds)[0]
would get the public subnet from the "first" AZ.
Also, are private and public subnets still required on https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/awsx/ec2/#ExistingVpcIdArgs ? They look optional, but I can't find anything in the CHANGELOG that clarifies this.