aws-ec2: Support availabilityZoneId for Vpc Construct #28265
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
The Vpc Construct supports the availabilityZones prop. We would like to be able to specify the availabilityZoneIds as well.
Use Case
Since the AZ mapping for each AWS account is random (at least for older regions), we would like to be able to consistently specify the AZs that our VPC is in. The CfnSubnet construct supports the use of
availabilityZoneId
. We would like the Vpc construct to similarly supportavailabilityZoneIds
.Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.113.0
Environment details (OS name and version, etc.)
AL2
The text was updated successfully, but these errors were encountered: