Skip to content

Commit

Permalink
Fixed variable passing for TF
Browse files Browse the repository at this point in the history
Signed-off-by: jayonthenet <[email protected]>
  • Loading branch information
jayonthenet committed Aug 27, 2024
1 parent f823c53 commit 63d2d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 0_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ kind export kubeconfig --internal -n 5min-idp --kubeconfig "$kubeconfig_docker"
### Export needed env-vars for terraform
export TF_VAR_humanitec_org=$HUMANITEC_ORG
# Aim for service user if present, otherwise use current user token (max 24h validity)
if [ -z "$HUMANITEC_SERVICE_USER" ]; then
if [ -n "$HUMANITEC_SERVICE_USER" ]; then
export TF_VAR_humanitec_token=$HUMANITEC_SERVICE_USER
else
export TF_VAR_humanitec_token=$(yq -r '.token' ~/.humctl)
Expand Down

0 comments on commit 63d2d5e

Please sign in to comment.