ec2:ResolveSsmParameterAtLaunchImage): error on deploy. #28090
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
p2
Describe the bug
I'm passing the name of a ssm parameter to REsolveSSMParamterAtLaunchImage, as the machineimage for an ASG. Its failing with this error and deploy time.
7:20:02 AM | CREATE_FAILED | AWS::AutoScaling::LaunchConfiguration | portalASGLaunchConf
ig16E327B6
Resource handler returned message: "AMI resolve:ssm:portalAMI is invalid: Invalid id: "resolve:
ssm:portalAMI" (expecting "ami-...") (Service: AutoScaling, Status Code: 400, Request ID: 0c8bf
885-13df-4156-b85b-2d9eb1c2c5c6)" (RequestToken: a94bb337-b183-2a4d-4b08-745839d5b9da, HandlerE
rrorCode: InvalidRequest)
Expected Behavior
for it to resolve the ami value
Current Behavior
its not resolving.
Reproduction Steps
see code above
Possible Solution
not sure.
Additional Information/Context
No response
CDK CLI Version
2.105.0
Framework Version
No response
Node.js Version
20
OS
linux
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: