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

tfswitch list is very intrusive... Shouldn't trigger download of latest #111

Closed
marcellodesales opened this issue Oct 24, 2020 · 1 comment · Fixed by #113
Closed

tfswitch list is very intrusive... Shouldn't trigger download of latest #111

marcellodesales opened this issue Oct 24, 2020 · 1 comment · Fixed by #113
Assignees
Labels
bug Something isn't working

Comments

@marcellodesales
Copy link

tfswitch triggers download

  • I just wanted to list all the versions currently installed without any downloads
  • The switch verified that there's a new version and automatically downloaded without me asking
$ tfswitch -l
Reading required version from terraform file, constraint: >= 0.12
Matched version: 0.13.5
Downloading https://releases.hashicorp.com/terraform/0.13.5/terraform_0.13.5_darwin_amd64.zip to terraform_0.13.5_darwin_amd64.zip
Downloading ...
^C
terraform_ps1:4: command not found: terraform

Feature Request

  • WIthout knowing the versions can break, I think this could avoid switching to new versions until asked
$ tfswitch -l 
  • Maybe use a fetch
$tfswitch --fetch
  • I know I can change restrictions on my terraform file, but I think that's a bit intrusive to just switch automatically
@warrensbox
Copy link
Owner

This is a bug. I will look at this.

@warrensbox warrensbox self-assigned this Oct 27, 2020
@warrensbox warrensbox added the bug Something isn't working label Oct 27, 2020
@warrensbox warrensbox linked a pull request Nov 13, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants