|
|
|
@ -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
|
|
|
|
|