Closed ThibaultNocchi closed 3 months ago
can you try to do the following, please?
export TENV_AUTO_INSTALL=true
tenv tf detect -v
By default, we disabled autoinstall in V2 via detect command. I think that we can add flag to the command to install tools automatically, like tenv tf detect --install
Indeed it works way better, thank you! I missed it in the 2.0 changes! Maybe the error message reworded, but thank you! Have a nice day!
@ThibaultNocchi one more question for you as for user. Do you think that it's more or less expected behavior? We have debated about it some time ago (https://github.com/orgs/tofuutils/discussions/4) and still gathering user opinions.
Describe the bug Since tenv v2, I can't fetch the TF CLI when detecting the required_version from a .tf file. I get the
Error: no compatible version found
error.It worked in v1 and I can use
tenv tf install 1.7.0
without problem in v2.To Reproduce Steps to reproduce the behavior:
providers.tf
tenv tf detect -v
Expected behavior It should download the correct version like when using
tenv tf install
.Environment (please complete the following information):
Additional context