generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
Description
Describe the bug
The CDK CLI does not pick up your AWS credentials if you have authenticated using your console credentials, as is now recommended on the AWS CLI documentation.
Regression Issue
- Select this option if this issue appears to be a regression.
Last Known Working CDK Library Version
No response
Expected Behavior
CDK should be able to use your temporary console credentials in order to deploy.
Current Behavior
Deployment fails with
Unable to resolve AWS account to use. It must be either configured when you define your CDK Stack, or through the environment
Reproduction Steps
# Step 1: Authenticate
aws login
# Step 2: Deploy
cdk deploy --allPossible Solution
No response
Additional Information/Context
No response
AWS CDK Library version (aws-cdk-lib)
2.231.0
AWS CDK CLI version
2.1033.0
Node.js Version
22
OS
MacOS 26.1
Language
TypeScript
Language Version
No response
Other information
No response
nikitaegrid and AndrewChemis