Open
Description
Describe the bug
The CDK CLI silently ignores the --region
flag during bootstrapping. It doesn't throw an error or warning, just proceeds as if the flag wasn't provided.
❯ cdk bootstrap --region ap-southeast-1
⏳ Bootstrapping environment aws://XXXXXXXXXXXX/ap-southeast-2...
Trusted accounts for deployment: (none)
Trusted accounts for lookup: (none)
Regression Issue
- Select this option if this issue appears to be a regression.
Last Known Working CDK Version
No response
Expected Behavior
See above.
Current Behavior
See above.
Reproduction Steps
See above.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.1018.0
Framework Version
No response
Node.js Version
22.16.0
OS
Ubuntu 24.04
Language
TypeScript
Language Version
No response
Other information
No response