fix: Add --tf-init-args, deprecate --init-args (#407)

This commit is contained in:
Maksym Vlasov 2022-07-05 15:49:10 +03:00 committed by Anton Babenko
commit c4f8251d30
3 changed files with 15 additions and 13 deletions

View file

@ -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: