-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add option flag to filter the modified files #151
Conversation
Codecov Report
@@ Coverage Diff @@
## master #151 +/- ##
==========================================
+ Coverage 64.14% 64.18% +0.03%
==========================================
Files 41 41
Lines 1969 1971 +2
==========================================
+ Hits 1263 1265 +2
Misses 641 641
Partials 65 65
Continue to review full report at Codecov.
|
Hi Laurent, first of all, thank you for your contribution. I appreciate the care you took and how you also updated the tests. I think that I may be close to solving your problem in another way though. I'm very close to a new release of Atlantis that will affect you in two ways:
For example given the following structure:
You could set up an version: 2
projects:
- dir: tf-project
autoplan:
when_modified: ["*.tf", "../modules/my-module/*.tf"] The To
And run Now when commits come to |
Hi Luke, thanks for your reply. The automatically plan on PR will be awesome! |
I should have an alpha release out by the end of the week. Yeah listing 39 directories isn't great but for now I think you'll have to. I'm happy to make the config less explicit but I want to see some more use cases so if I change the schema it works for everyone. I'm going to close this for now since the new release should achieve what you're looking for. |
@bewie I think you already saw this but 0.4 was released yesterday. |
Ensure planfile is last arg to apply. Fixes runatlantis#151
Hi,
I use a mono-repo with a lot of non related terraform files or some projects that I don't want to plan/apply from atlantis.
So I want to filter on specific path from my repository to select only the sub-directory that I want to plan/apply.
To do that I added an option flag to filter the modifications on a specific path.