updated terraform.sh

pull/16/head
Hari Sekhon 2 months ago
parent 8dd40468b2
commit 0194172dfb

@ -34,6 +34,7 @@ add_PATH ~/.tfenv/bin
#
if [ -x ~/.tfenv/bin/terraform ]; then
#export TERRAGRUNT_TFPATH=~/.tfenv/bin/ # it's full path to binary executable not a search $PATH!
# neweer versions of Mac seems to not create ~/.tfenv/bin/ terraform link and instead use /opt/homebrew/bin/terraform link to the tfenv Cellar path
export TERRAGRUNT_TFPATH=~/.tfenv/bin/terraform
elif ! [ -x "$TERRAGRUNT_TFPATH" ]; then
unset TERRAGRUNT_TFPATH

Loading…
Cancel
Save