From 263eeaa16eee6750eee7f8aaaebbb27a585bfd9c Mon Sep 17 00:00:00 2001 From: Anton Babenko Date: Mon, 2 Nov 2020 11:40:50 +0100 Subject: [PATCH] fix: Set AWS_DEFAULT_REGION variable always (closes #152) --- terraform_validate.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/terraform_validate.sh b/terraform_validate.sh index 1536c5d7d..b20f7ae4d 100755 --- a/terraform_validate.sh +++ b/terraform_validate.sh @@ -1,6 +1,9 @@ #!/usr/bin/env bash set -eo pipefail +# `terraform validate` requires this env variable to be set +export AWS_DEFAULT_REGION=us-east-1 + main() { initialize_ parse_cmdline_ "$@"