Skip to content

cdklocal bootstrap creates S3 bucket in wrong region #100

Description

@LethargicDeveloper

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions