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

[FEATURE REQUEST] Support globbing syntax for projects. #1500

Closed
stobias123 opened this issue Apr 14, 2021 · 2 comments
Closed

[FEATURE REQUEST] Support globbing syntax for projects. #1500

stobias123 opened this issue Apr 14, 2021 · 2 comments

Comments

@stobias123
Copy link

I have a group of projects as shown here

├── modules
│   └── module1
│       └── main.tf
|foo/
 └── project1
    ├── main.tf
 └── project2
    ├── main.tf
 └── project-n
    ├── main.tf

There are a very large number of these projects, and they all contain the same autoplan specification. Otherwise my project file is going to grow to an unmaintainable length.

A feature where I could define these projects to autoplan using glob syntax would be really nice.

Example:

version: 3
projects:
- dirs: ["foo/*"]
  autoplan:
    when_modified: ["../modules/**/*.tf", "*.tf*"]
@stobias123 stobias123 changed the title Support globbing syntax for projects. [FEATURE REQUEST] Support globbing syntax for projects. Apr 14, 2021
@cilindrox
Copy link
Contributor

#1475 might help with this ^

@nishkrishnan
Copy link
Contributor

0.17.0 will give you what you need since #1475 was released as part of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants