@aws-cdk-lib/aws-ec2: CfnSubnet AvailabilityZoneId parameter removed #19563
Labels
@aws-cdk/aws-cloudformation
Related to AWS CloudFormation
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p1
What is the problem?
The
AvailabilityZoneId
attribute for theCfnSubnet
struct was removed in this pr https://github.com/aws/aws-cdk/pull/19347/files#diff-16a9c9617c24ccee4f2d2bfb75440efc6ce83f64529d724840df0bd3adde9f0dL6603-L6608This parameter is still available on the cloudformation object https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#aws-resource-ec2-subnet-properties
I believe this is a bug. I was relying on this attribute.
Reproduction Steps
n/a
What did you expect to happen?
I expected fields not to be removed from the cloudformation constructs
What actually happened?
fields were removed from the cloudformation constructs
CDK CLI Version
2.17.0 (build f9cd009)
Framework Version
2.17.0
Node.js Version
v17.7.2
OS
macos
Language
Python
Language Version
3.10.2
Other information
No response
The text was updated successfully, but these errors were encountered: