I am trying to figure out why using `.getSubnets('...
# general
q
I am trying to figure out why using
.getSubnets('public')
on my default VPC only returns 2 subnets when it has 3 in AWS.
g
Which specific function are you calling? Can you share your full code?
q
Copy code
const vpc = awsx.ec2.Vpc.getDefault();
const subnets = vpc.getSubnets('public');
This only returns 2 subnets (and 2 are listed on pulumi’s online resource listing) but in AWS my default VPC has 3 public subnets (for a, b, c availability zones)
g
Sounds like a bug - can you open an issue at https://github.com/pulumi/pulumi-awsx ?
q
yea