You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was originally reported in CDK in aws/aws-cdk:25929. When the value of PublicKeyMaterial is not well formatted, the creation of AWS::EC2::KeyPair fails with unhelpful error like:
Resource handler returned message: "null" (RequestToken: c6817ee0-0c65-b552-f35f-336715c567ce, HandlerErrorCode: InvalidRequest)
Name of the resource
Other
Resource name
AWS::EC2::KeyPair
Description
This was originally reported in CDK in aws/aws-cdk:25929. When the value of
PublicKeyMaterial
is not well formatted, the creation ofAWS::EC2::KeyPair
fails with unhelpful error like:CloudFormation snippet to reproduce:
It would be great if CloudFormation propagated the error from the back-end service.
Other Details
No response
The text was updated successfully, but these errors were encountered: