Open matsui20 opened 1 week ago
Unsure if fix implemented for https://github.com/aws/aws-cdk/issues/31716 would mitigate this issue. Let's wait for new CDK version containing this fix to be released before we reproduce this issue.
@matsui20 Good morning. Could you please test it using the latest CDK version 2.162.1 (build 10aa526)
and see if the issue goes away? Somehow, I'm unable to get to the same error as reported in this issue.
Thanks, Ashish
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
@ashishdhingra Thanks for confirming. I updated the cdk version to 2.162.1 and tried again, same error.
Describe the bug
When creating an EC2 in the AWS Management Console and importing it into the cdk using the cdk import command, the following error occurs and prevents importing
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
When executing the cdk import command, you will be prompted for the EC2 instanceID, and if you enter it, the EC2 instance will be imported into the CDK code.
Current Behavior
The following error is output
Reproduction Steps
I created the following typescript in the CDK lib folder and tried to import a service with a definition of “MyInstance_restor”
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.126.0
Framework Version
No response
Node.js Version
18.18.2
OS
WIndows
Language
TypeScript
Language Version
TypeScript 5.5.3
Other information
No response