mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
fix: Add --tf-init-args, deprecate --init-args (#407)
This commit is contained in:
parent
32b232f039
commit
c4f8251d30
3 changed files with 15 additions and 13 deletions
|
|
@ -520,7 +520,7 @@ Example:
|
|||
```yaml
|
||||
- id: terraform_providers_lock
|
||||
args:
|
||||
- --init-args=-upgrade
|
||||
- --tf-init-args=-upgrade
|
||||
```
|
||||
|
||||
|
||||
|
|
@ -629,7 +629,7 @@ Example:
|
|||
```yaml
|
||||
- id: terraform_validate
|
||||
args:
|
||||
- --init-args=-lockfile=readonly
|
||||
- --tf-init-args=-lockfile=readonly
|
||||
```
|
||||
|
||||
4. It may happen that Terraform working directory (`.terraform`) already exists but not in the best condition (eg, not initialized modules, wrong version of Terraform, etc.). To solve this problem, you can find and delete all `.terraform` directories in your repository:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue