Skip to content

Documented sleeper cdk bootstrap command does not work #6830

@patchwork01

Description

@patchwork01

Description / Background

When you run sleeper cdk bootstrap you get java.lang.IllegalArgumentException: instanceId is required.

Steps to reproduce

  1. Install the Sleeper CLI
  2. Run sleeper cdk bootstrap
  3. See error

Expected behaviour

The AWS account should be bootstrapped.

Technical Notes / Implementation Details

This is happening because the cdk.json file in the default directory of the environment Docker image points the CDK to the environment CDK app.

This is in scripts/cli/environment/cdk.json, alongside the Dockerfile that includes it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions