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.
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.