aws_ec2: ipAddresses is an invalid key for Python, but CIDR gives deprecation warning to use it #30510
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
bug
This issue is a bug.
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
The
VPC.cidr
prop is deprecated to be removed in the next major release. The deprecation notice and documentation state to useipAddresses
, instead.If you use
ipAddresses
in Python, you get an Exception:Expected Behavior
Replacing the
cidr
prop for a VPC with anipAddresses
prop, as directed by the deprecation warning, should succeed.Current Behavior
Reproduction Steps
Possible Solution
Add the
ipAddresses
as a valid keyword for Python.Additional Information/Context
No response
CDK CLI Version
2.145.0 (build fdf53ba)
Framework Version
No response
Node.js Version
v22.2.0
OS
macOS
Language
Python
Language Version
Python 3.12.0
Other information
No response
The text was updated successfully, but these errors were encountered: