spec2cdk: Breaking changes in Aws-cdk-lib-java from Tagging Change #29869
Labels
@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
Describe the bug
#28989
This PR caused breaking change in aws-cdk-lib-java package since v2.136.0.
Expected Behavior
In cdk version
v.120.0
, the lineString natGatewayName = subnets.get(0).getTags().tagValues().get("MyKey") + "-NatGateway";
will correctly generate the name.Current Behavior
However, in
v.136.0
, this would result inNull-NateGateway
. And it's causing breaking changes.Reproduction Steps
See above template.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
v.136.0
Framework Version
No response
Node.js Version
20
OS
MacOS
Language
Java
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: