Lately I ran into a problem on my machine.
And anyone using Terraform could run into the same problem.
How can I manage multiple versions of Terraform at the same time on the same machine?
I have the solution, it's called tfenv!
tfenv
tfenv is a Terraform version manager, whose documentation can be found here:
https://github.com/tfutils/tfenv
Installations steps:
$ brew install tfenv
$ brew link tfenv (optional)
Usage:
- Install a specific version of Terraform (e.g v0.12.29)
$ tfenv install 0.12.29
- Use a specific version of Terraform
$ tfenv use 0.12.29
- Uninstall a specific version
$ tfenv uninstall 0.12.29
- List installed versions of tf:
$ tfenv list
- List remote available versions:
$ tfenv list-remote
No comments:
Post a Comment