Skip to content
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

cdklocal bootstrap creates S3 bucket in wrong region #100

Open
LethargicDeveloper opened this issue Dec 5, 2024 · 0 comments
Open

cdklocal bootstrap creates S3 bucket in wrong region #100

LethargicDeveloper opened this issue Dec 5, 2024 · 0 comments

Comments

@LethargicDeveloper
Copy link

When I run cdklocal bootstrap I get the following output:

bootstrapped
⏳ Bootstrapping environment aws://000000000000/us-gov-west-1...
Trusted accounts for deployment: (none)
Trusted accounts for lookup: (none)
Using default execution policy of 'arn:aws:iam::aws:policy/AdministratorAccess'. Pass '--cloudformation-execution-policies' to customize.
CDKToolkit: creating CloudFormation changeset...
✅ Environment aws://000000000000/us-gov-west-1 bootstrapped.

us-gov-west-1 is the correct region, but when I go to the localstack site and view s3 buckets:

cdk-hnb659fds-assets-000000000000-us-east-1

the bucket that gets created has the wrong suffix. It also shows up no matter which region I choose.

I haven't been able to figure out how to get it to create the s3 bucket in the correct region no matter what configuration or environment variables I setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant