Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tfenv use] latest-allowed #390

Open
n3ph opened this issue Apr 6, 2023 · 2 comments
Open

[tfenv use] latest-allowed #390

n3ph opened this issue Apr 6, 2023 · 2 comments

Comments

@n3ph
Copy link

n3ph commented Apr 6, 2023

According to the Usage Section, this should work:

$ tfenv --version
tfenv 3.0.0
$ tfenv use latest-allowed
No installed versions of terraform matched 'latest-allowed:^latest-allowed$'. Trying to install a matching version since TFENV_AUTO_INSTALL=true
No versions matching 'latest-allowed' found in remote
Installing a matching version failed
@hamdrew
Copy link

hamdrew commented May 10, 2023

I also receive this error when running tfenv install latest-allowed:

$ tfenv --version
tfenv 3.0.0
$ tfenv install latest-allowed
No versions matching 'latest-allowed' found in remote

@paul-yolabs
Copy link

I just spent a lot of time tripping over this problem.

latest-allowed isn't included in 3.0.0, because it was released over a year ago. The functionality is on main, but not in a release yet.

See:
v3.0.0...master#diff-77279bd92af9729502947ae2a770914afec4e1c199dd53beeafaa4a73e3f3106

Until there's a new release, it won't work for a tagged install like brew. The documentation is current, but confusing because the releases are behind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants