Hi. I'm using the `publicSubnetIds` property of aw...
# aws
h
Hi. I'm using the
publicSubnetIds
property of awsx.ec2.DefaultVpc, but I realized that's returning all my subnet ids, both public and private. Is there a reason for that and a way to get around that?
b
Default VPCs only have public subnets. Did you manually create private subnets?
h
Not me, but my coworkers did. So Pulumi doesn't look for NAT gateways or Internet Gateways in the routing tables in order to tell if it's public or private?
b
Not from the default VPC no, if you use getSubnets you can be more specific about the lookup
h
Ok, thanks