Skip to content

Commit 49a2dd1

Browse files
author
Lars Gohlke
committed
adds tenv auto install setting
1 parent e152c63 commit 49a2dd1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/terraform.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ if ! command -v tofu >/dev/null; then
1414
tenv tofu install latest && tenv tofu use latest
1515
fi
1616

17+
# https://tofuutils.github.io/tenv/#environment-variables
18+
export TENV_AUTO_INSTALL=true
19+
1720
if [[ -d ~/.config/topgrade.d ]] && ! [[ -f ~/.config/topgrade.d/tenv.toml ]] && ! command -v topgrade >/dev/null; then
1821
cat << EOF > ~/.config/topgrade.d/tenv.toml
1922
[commands]

0 commit comments

Comments
 (0)