CLI: Unable to resolve AWS account to use with cdk deploy --profile #33422
Labels
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
p3
package/tools
Related to AWS CDK Tools or CLI
potential-regression
Marking this issue as a potential regression to be checked by team member
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
Having similar issue as of newest update related to previously-closed issue: #24744 (comment)
Regression Issue
Last Known Working CDK Version
v2.1691.0
Expected Behavior
I should be able to run cdk deploy --profile my_profile without issues regarding unknown accounts
Current Behavior
I receive the error "Unable to resolve AWS account to use. It must be either configured when you define your CDK Stack, or through the environment" and my stack cannot deploy.
Reproduction Steps
Run
cdk deploy --profile my_profile
.Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.177.0
Framework Version
No response
Node.js Version
v22.13.1
OS
Mac, M-series processor
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: