Skip to content

npx cdk bootstrap error #34

@valsha

Description

@valsha

npx cdk bootstrap 'aws://123456789012/us-east-1' --profile dev

⏳  Bootstrapping environment aws://123456789012/us-east-1...
 ❌  Environment aws://123456789012/us-east-1 failed bootstrapping: Error: Need to perform AWS calls for account 123456789012, but no credentials have been configured
    at SdkProvider.forEnvironment (/www/ots/node_modules/aws-cdk/lib/index.js:284:44976)
    at async BootstrapStack.lookup (/www/ots/node_modules/aws-cdk/lib/index.js:371:19012)
    at async Bootstrapper.modernBootstrap (/www/ots/node_modules/aws-cdk/lib/index.js:372:1084)
    at async /www/ots/node_modules/aws-cdk/lib/index.js:376:2104
    at async Promise.all (index 0)
    at async CdkToolkit.bootstrap (/www/ots/node_modules/aws-cdk/lib/index.js:376:1949)
    at async exec4 (/www/ots/node_modules/aws-cdk/lib/index.js:429:51795)

Need to perform AWS calls for account 123456789012, but no credentials have been configured

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