-
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
Update defaultwhenmodified to include **/terragrunt.hcl #858
Update defaultwhenmodified to include **/terragrunt.hcl #858
Conversation
Thanks for the PR :D, looks like you're on the right track. You'll need to update the tests before I can merge though. |
Codecov Report
@@ Coverage Diff @@
## master #858 +/- ##
==========================================
- Coverage 71.87% 71.83% -0.04%
==========================================
Files 65 65
Lines 5244 5213 -31
==========================================
- Hits 3769 3745 -24
+ Misses 1188 1183 -5
+ Partials 287 285 -2
Continue to review full report at Codecov.
|
Hi @lkysow , Hopefully looking better now. :) Hope you're OK with me extracting the duplication to a function also? Cheers, |
This allows a pre-existing TG 0.19+ project ot autoplan if no when_modified is set Closes #803
Also added setter for Autoplan type to allow overriding enabled from default struct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think a helper in the tests is fine however I don't like the new model or set function.
I prefer the config to be explicit. It's a personal preference but that's how I feel.
Thanks for the review 👍. OK, I'll remove the functions and put the config back then. Just seemed daft to have the same thing repeated 20+ times, following the DRY principle 😄 |
…ult-when-modified
Hi @lkysow, I sorted out the explicit config and removed the new method etc. I can't seem to resolve the "Changes requested" from the PR though? Cheers, |
I think I have to re-review. Will get to it when I can. |
Hi @lkysow , hope you had a good break over new year etc. Have you had a chance to take another look at this at all? Cheers, |
This allows a pre-existing TG 0.19+ project to autoplan if no when_modified is set.
Closes #803
I haven't spun this up and tested it yet, not had time but wanted to get the code change up here.