Skip to content

Commit

Permalink
Fix Vault TFC backend path (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
filippo-20tab authored Jul 26, 2022
1 parent d2fe651 commit 6ec11af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion {{cookiecutter.project_dirname}}/scripts/deploy/vault.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ if [ "${ENV_SLUG}" != "" ] && [ "${VAULT_ENV_SECRETS}" != "" ]; then
fi

if [ "${TERRAFORM_BACKEND}" == "terraform-cloud" ]; then
export TFC_TOKEN="$(./vault read -field=token ${PROJECT_SLUG}-tfc/creds/default)"
export TFC_TOKEN="$(./vault read -field=token ${VAULT_PROJECT_PATH}-tfc/creds/default)"
fi

0 comments on commit 6ec11af

Please sign in to comment.