We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
terraform_validate
1 parent 66a1469 commit 4ea6b14Copy full SHA for 4ea6b14
hooks/terraform_validate.sh
@@ -113,7 +113,7 @@ function per_dir_hook_unique_part {
113
# First try `terraform validate` with the hope that all deps are
114
# pre-installed. That is needed for cases when `.terraform/modules`
115
# or `.terraform/providers` missed AND that is expected.
116
- terraform validate "${args[@]}" 2>&1 && {
+ terraform validate "${args[@]}" &> /dev/null && {
117
exit_code=$?
118
return $exit_code
119
}
0 commit comments