Skip to content

Commit

Permalink
fix(aws-cdk): make bootstrapping not require --app
Browse files Browse the repository at this point in the history
Improve the error message when needing to bootstrap while using assets.
Also make it not necessary to have '--app' in there when bootstrapping
if an environment name is given.

This makes the toolkit easier to use in integration tests, where the
cdk.json is generated and it's not clear what the argument to --app
should be (nor should it be necessary if the environment identifier has
enough information in it to reconstruct the Environment object).

This also refactors the code somewhat so related code (for running the
CX App and parsing its output) is together.

Fixes #1188.
  • Loading branch information
rix0rrr committed Nov 16, 2018
1 parent 18166ce commit 936cc4e
Show file tree
Hide file tree
Showing 7 changed files with 350 additions and 265 deletions.
Loading

0 comments on commit 936cc4e

Please sign in to comment.