New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on creating sandbox: This AWS account and region has not been bootstrapped #1496
Comments
Hey @oe-bayram, could you ensure the profile/account that bootstrapped is being passed with sandbox command using |
Yes, since I have multiple profiles, I have to use |
Another thing to check is if the profile is configured to use the same region that you have bootstrapped? |
Yes, I checked it already:
|
Can you confirm that an SSM parameter named |
Yes this parameter exists and has the value |
What I've found out so far: If the region is not set in the config for the profile then I get the error mentioned before. If I set it in the config then I get another error message:
Error message:
|
I think your config file may be incorrect. The region config for a named profile should look like
See here for more details on the format of the config file: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html#cli-configure-files-format |
Now I'm using an IAM user profile with AdminAccess: In credentials:
In config:
Now I'm getting the same error message an dthis warning before that: I have deleted all the other profiles from the credentials and config but I still get the warning and the error message. |
Do you have the |
No environment variables were set before but setting |
Environment information
Description
When I try to create a sandbox I always get his error message:
I bootstrapped the environment in both ways: using
cdk bootstrap ...
and the bootstrap process via the console.The text was updated successfully, but these errors were encountered: