-
-
Notifications
You must be signed in to change notification settings - Fork 998
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 .terragruntrc.json
Support
#3572
Comments
Hey @mossad-zika , we've talked about this internally, and we have some designs in mind. The design that we're considering right now is basically to have a
The file would be parsed, then set Terragrunt flags with names that match the names of flags, so it would be pretty easy to guess how configurations would be set. In the future there may be other configurations that we'd add to this, but that's our general thought process right now. Marking the issue as If you would like this issue resolved earlier, consider cutting a pull request to deliver this. |
Yes! This! And please please please use JSON and not yaml 😅 |
.terragruntrc.json
Support
Something to consider is that this is becoming more important, as we're evaluating changing some defaults in how Terragrunt behaves. This flag, for example, is not a great default for Terragrunt to have, but is also non-trivial to remove. It's nice for users to have that check happen whenever they try to destroy something, and it's only useful when users don't know that there's a dependency on something they're destroying, so it's not great to opt-in to that functionality. We could have some recommended |
this is a duplicate of #2849
Currently, Terragrunt is able to pass extra arguments and set environment variables for Terraform using hooks or
run_cmd()
command. However, this does not work for Terragrunt itself.For example, we constantly have to type
terragrunt run-all plan --terragrunt-non-interactive
, whereas I would want to set this flag interragrunt.hcl
file (or as an env varTERRAGRUNT_NON_INTERACTIVE=true
) and have Terragrunt honour it.Describe alternatives you've considered
TERRAGRUNT_
variables manually on the CLI before running Terragrunt but, again, yet another step and more typing that shouldn't be needed.Additional context If there's any way to set Terragrunt defaults within itself, that would be great as the number of options is growing and can make for a messy and long command line.
The text was updated successfully, but these errors were encountered: