From 5d066420cca2f945d8d37557b32687e2889acfc5 Mon Sep 17 00:00:00 2001 From: Aidan Feldman Date: Tue, 1 Nov 2022 10:43:40 -0400 Subject: [PATCH] chore(Terraform): complain if argument isn't passed to init script --- terraform/init.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terraform/init.sh b/terraform/init.sh index 1168d5fea3..16360c1e90 100755 --- a/terraform/init.sh +++ b/terraform/init.sh @@ -5,6 +5,10 @@ set -e ENV=$1 +if [ $# -ne 1 ]; then + echo "Usage: $0 " + exit 1 +fi printf "Intializing Terraform...\n\n" # automatically inject the subscription ID