little-market-6345510/03/2021, 4:54 PM
I noticed that it always returns only exactly
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.