Skip to content

Commit

Permalink
chore(Terraform): complain if argument isn't passed to init script
Browse files Browse the repository at this point in the history
  • Loading branch information
afeld committed Nov 18, 2022
1 parent 72d5580 commit 5d06642
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ set -e

ENV=$1

if [ $# -ne 1 ]; then
echo "Usage: $0 <env>"
exit 1
fi

printf "Intializing Terraform...\n\n"
# automatically inject the subscription ID
Expand Down

0 comments on commit 5d06642

Please sign in to comment.