https://pulumi.com logo
#general
Title
# general
l

little-market-63455

10/03/2021, 4:54 PM
A suggestion, please let me know if it should go on the GitHub repository. While using
awsx.ec2.Vpc.getDefault().publicSubnetIds
I noticed that it always returns only exactly
2
subnets Checking the code, I found this comment:
back compat. We always would just use the first two public subnets of the region we're in. So preserve that, even though we could get all of them here. Pulling in more than the two we pulled in before could have deep implications for clients as those subnets are used to make many downstream resource-creating decisions.
But the documentation doesn't mention this which is a surprising behavior.
b

billowy-army-68599

10/03/2021, 5:56 PM
yes please open an issue for this
1
l

little-market-63455

10/04/2021, 7:53 AM