-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): option
--all
selects stacks in nested assemblies (#15046)
The option `-all` should select all stacks at the top level assembly, regardless of their `hierarchicalId`. For example, if we have a stack at the top level assembly, but nested inside another construct, like this: ```typescript const construct = new Construct(app, 'construct'); new Stack(construct, 'includeme'); const stage = new Stage(app, 'stage'); new Stack(stage, 'donotincludeme') ``` then, the first stack should be deployed, even though it's `hierarchicalId` will be `"construct/includeme"`. With this change, we are decoupling `--all` from the glob pattern `*`. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
1 parent
d3eb60f
commit 0d00e50
Showing
7 changed files
with
167 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.