Skip to content

Commit

Permalink
fix(aws-cdk): make bootstrapping not require --app (#1191)
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 authored Nov 16, 2018
1 parent d911b08 commit c7b1004
Show file tree
Hide file tree
Showing 7 changed files with 350 additions and 265 deletions.
Loading

0 comments on commit c7b1004

Please sign in to comment.