Skip to content

Commit

Permalink
WIP deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
tompahoward committed Oct 20, 2023
1 parent 76793eb commit 541f934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ EOM
if test -z "$*"; then
TF_WORKSPACE="${npm_lifecycle_event#deploy:}"
backend_config=""
if [[ -n "$TERRAFORM_CLOUD_TOKEN" ]]; then
if [ ! -z "$TERRAFORM_CLOUD_TOKEN" ]; then
backend_config="-backend-config=token=$TERRAFORM_CLOUD_TOKEN"
fi
terraform init -input=false $backend_config
Expand Down

0 comments on commit 541f934

Please sign in to comment.