aws_autoscaling: require_imdsv2 causes TypeError: Cannot read properties of undefined (reading 'metadataOptions') #27070
Labels
@aws-cdk/aws-autoscaling
Related to Amazon EC2 Auto Scaling
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
p1
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
When applying
require_imdsv2=True
toautoscaling.AutoScalingGroup()
, cdk synth fails. cdk synth succeeds when this isrequire_imdsv2=False
.Expected Behavior
cdk synth succeeds and enables imdsv2 on the launch template.
Current Behavior
Reproduction Steps
Possible Solution
Additional Information/Context
No response
CDK CLI Version
2.95.0 (build cfa7e88)
Framework Version
No response
Node.js Version
v18.17.0
OS
macOS 11.7.9
Language
Python
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: