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

Add support for .terraform-version file #60

Closed
moutons opened this issue Dec 4, 2019 · 0 comments · Fixed by #61
Closed

Add support for .terraform-version file #60

moutons opened this issue Dec 4, 2019 · 0 comments · Fixed by #61

Comments

@moutons
Copy link
Contributor

moutons commented Dec 4, 2019

Right now, the tfswitch tool uses files which by their name are specifically for tfswitch. This is great. However, it would be also great if tfswitch supported the .terraform-version file which can be used with the tfenv tool: https://github.com/tfutils/tfenv#terraform-version-file

That's it. That's the Issue.

moutons added a commit to moutons/terraform-switcher that referenced this issue Dec 5, 2019
* fixes warrensbox#60
* treats `.terraform-version` file exactly like the `.tfswitchrc` file
  for simplicity's sake and duplicates the if statement so this behavior
  can easily be modified later
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

Successfully merging a pull request may close this issue.

1 participant