From 46b8d36ba613a1e9964bacbbd13d87f13bda0efa Mon Sep 17 00:00:00 2001 From: William Yardley Date: Tue, 24 Sep 2024 22:51:29 -0700 Subject: [PATCH] add compact warnings as well --- .../build/scripts/task_wrapper_scripts/terraform_validate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/build/developer-tools/build/scripts/task_wrapper_scripts/terraform_validate b/infra/build/developer-tools/build/scripts/task_wrapper_scripts/terraform_validate index f77ea35cc5cd..34c62879d25b 100755 --- a/infra/build/developer-tools/build/scripts/task_wrapper_scripts/terraform_validate +++ b/infra/build/developer-tools/build/scripts/task_wrapper_scripts/terraform_validate @@ -19,5 +19,5 @@ # files to validate. This directory is assumed to be a root module. set -eu -flock -x /workspace/.terraform.lock -c "terraform init -upgrade -chdir=$1 -backend=false >/dev/null" +flock -x /workspace/.terraform.lock -c "terraform init -compact-warnings -upgrade -chdir=$1 -backend=false >/dev/null" flock -s /workspace/.terraform.lock -c "terraform -chdir=$1 validate"