A suggestion, please let me know if it should go o...
# general
l
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
yes please open an issue for this
1
l