mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
Added scripts to validate terraform files
This commit is contained in:
parent
70b77dcf32
commit
5f3ac96d44
5 changed files with 48 additions and 2 deletions
5
terraform_validate_with_variables.sh
Executable file
5
terraform_validate_with_variables.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
for file in "$@"; do
|
||||
terraform validate -check-variables=true "$file"
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue