pre-commit-opentofu/terraform_validate_with_variables.sh

5 lines
98 B
Bash
Raw Normal View History

#!/usr/bin/env bash
for file in "$@"; do
terraform validate -check-variables=true "$file"
done