Open
Description
Describe the bug
Similar to #29179, cdk import
ignores qualifier set in the cdk.json
context and tries to use defaults.
Which results in a failure.
Supplying the stack name fixes the problem, but it's not a scalable approach.
Regression Issue
- Select this option if this issue appears to be a regression.
Last Known Working CDK Version
2.171.0
Expected Behavior
cdk import
to respect the qualifier.
Current Behavior
Does not respect the qualifier.
Reproduction Steps
Use a custom qualifier.
Try to do an import with a large template.
Get an error:
❌ my-stack-name failed: Error: Template too large to deploy ("cdk bootstrap" is required)
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.171.0
Framework Version
No response
Node.js Version
22
OS
macOs
Language
TypeScript
Language Version
No response
Other information
No response