- Notifications
You must be signed in to change notification settings - Fork19
Open
Description
Describe the bug
I'm attempting to use the--from-scan
option when runningcdk migrate
and the template creation failed with an internal error with no signs of what went wrong.
Regression Issue
- Select this option if this issue appears to be a regression.
Last Known Working CDK Version
N/A
Expected Behavior
For the template to be created and a CDK created
Current Behavior
CLI Output:
Thiscommand is an experimental feature.Starting new scanforaccount unknown-accountin region unknown-regionResource scanin progress. Please wait, this can take 10 minutes or longer.[████████████████████████████] (100%)✅ Scan Complete!Using the latest successful scan which is 0 days, 0 hours, and 5 minutes old.No filters provided. Retrieving all resources from scan.finding related resources.Found 269 resources.Generating CFN template from scanned resources.Please wait, template creationin progress. This may take a couple minutes.[CREATE_IN_PROGRESS] Template Creationin Progress ❌ Migrate failedfor`MY_STACK_NAME`: Internal Error
When I look at the CloudFormation IaC generator template, the definition tab says
"See template resources for details of the failure."
and when I check the Template Resources tab, I see 269 resources and the template status for all of them isCOMPLETE
. The Template Generation Status isFailed - Internal Error
Reproduction Steps
Command ran:
cdk migrate --stack-name MY_STACK_NAME --output-path OUTPUT_DIR --from-scan new
Possible Solution
No response
Additional Information/Context
Template ID: arn:aws:cloudformation:us-west-2:703889496698:generatedTemplate/eed6eec7-7304-4157-9e7c-6fdfd410f61f
CDK CLI Version
2.1004.0 (buildf0ad96e)
Framework Version
No response
Node.js Version
v18.19.0
OS
macOS
Language
TypeScript
Language Version
No response
Other information
No response