The command tfenv use will use whatever version has been defined in the .terraform-version as shown below.
% cat .terraform-version
0.12.20
% tfenv use
Switching default version to v0.12.20
I notice that the command tgenv use does not follow suit as shown below.
% cat .terragrunt-version
0.19.19
% tgenv use
tgenv: tgenv-use: [ERROR] usage: tgenv use <version>
I like the ability to just issue a tfenv use and the script pick up the local version file, install it if I don't have it, and then switch to it. Can this feature also be added to this project?
I'm currently using the version of tgenv shown below.
The command
tfenv use
will use whatever version has been defined in the.terraform-version
as shown below.I notice that the command
tgenv use
does not follow suit as shown below.I like the ability to just issue a
tfenv use
and the script pick up the local version file, install it if I don't have it, and then switch to it. Can this feature also be added to this project?I'm currently using the version of
tgenv
shown below.