aws / aws-k8s-tester

AWS Kubernetes tester, kubetest2 deployer implementation
Apache License 2.0
163 stars 82 forks source link

Fix the AZs when creating subnets #481

Closed weicongw closed 1 month ago

weicongw commented 1 month ago

Issue #, if available:

Description of changes: This PR addresses an issue with subnet creation by correcting the Availability Zones (AZs) used. Previously, subnets were created in the first two AZs of the region, which often led to failures due to mismatches with capacity reservations. This PR ensures that subnets are created in AZs that align with the specified capacity reservations.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.