Skip to content

Cannot bootstrap CDK in multiple zones #30

@pavelsterba-alma

Description

@pavelsterba-alma

Hi, I am bootstrapping my CDK in two regions - eu-west-1 as my main region and us-east-1 for CloudFormation certificates. At first, I tried this approach assuming that it will bootstrap prod account and us-east-1:

npx cdk bootstrap -c account=prod 1234567890/us-east-1

But this way it only bootstrap us-east-1. I have to add eu-west-1 :

npx cdk bootstrap -c account=prod 813112422615/eu-west-1 1234567890/us-east-1

Even tho that -c account=prod is obsolete, I have to keep it there any way, otherwise I will get error:

const value = get(account.config, key, defaultValue);
                              ^
TypeError: Cannot read properties of undefined (reading 'config')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions