tfutils / tfenv

Terraform version manager
MIT License
4.42k stars 446 forks source link

[tfenv list-remote] - not listing accurate version, only 1.22.0 #396

Closed mikamakusa closed 1 year ago

mikamakusa commented 1 year ago

Hi everyone,

I'm trying to use tfenv with the environment variable TFENV_REMOTE. After setting TFENV_REMOTE with a nexus backend (which ever returned error message), i've tried with Nginx. Now, I don't get any error messages. I the Nginx root directory, I only store the terraform version 1.4.6 and the index.html recovered from the official registry site (from the root and the 1.4.6 directory). Every time i run tfenv list-remote, it show 1.22.0 as the only available version...and I would like to know where does it found it (obviously...not in my hard drive)

Thanks for any help

mikamakusa commented 1 year ago

[Edit] : Issue can be closed Sorry for having posted this issue...i've figured out why it wasn't working by deleting all the folder of tfenv and re cloning it on my computer. Now, it's working perfectly...with ot without the environment variable TFENV_REMOTE.