mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
feat: Allow terraform_providers_lock specify terraform init args (#406)
This commit is contained in:
parent
0f25122485
commit
32b232f039
4 changed files with 57 additions and 23 deletions
|
|
@ -515,6 +515,15 @@ Example:
|
|||
|
||||
`terraform_providers_lock` hook will try to reinitialize directories before running the `terraform providers lock` command.
|
||||
|
||||
5. `terraform_providers_lock` support passing custom arguments to its `terraform init`:
|
||||
|
||||
```yaml
|
||||
- id: terraform_providers_lock
|
||||
args:
|
||||
- --init-args=-upgrade
|
||||
```
|
||||
|
||||
|
||||
### terraform_tflint
|
||||
|
||||
1. `terraform_tflint` supports custom arguments so you can enable module inspection, deep check mode, etc.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue