Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli): match multiple stacks with patterns #1634

Merged
merged 5 commits into from
Mar 23, 2022

Conversation

DanielMSchmidt
Copy link
Contributor

This allows users to select stacks using wildcards

Copy link
Member

@ansgarm ansgarm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking forward to this 💪

Have you checked whether it is possible to use * or ? in a stack name (i.e. in the id of a construct)? If yes, we should restrict that I'd say.

Mentioning this new feature in our docs (+ mentioning minimatch) would also be useful. Maybe it also makes sense to add this to the CLI args description?

packages/cdktf-cli/test/lib/project-execution.test.ts Outdated Show resolved Hide resolved
packages/cdktf-cli/test/lib/project-execution.test.ts Outdated Show resolved Hide resolved
@DanielMSchmidt
Copy link
Contributor Author

@ansgarm I added the check in TerraformStack 👍

Co-authored-by: Ansgar Mertens <ansgar@hashicorp.com>
@DanielMSchmidt DanielMSchmidt merged commit 2b4228d into main Mar 23, 2022
@DanielMSchmidt DanielMSchmidt deleted the advanced-stack-selection branch March 23, 2022 10:27
This was referenced Mar 24, 2022
@github-actions
Copy link
Contributor

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants