tfenv (Terraform version manager) a very useful tool.

I never needed to switch Terraform versions in my prior environment. Instead, I always kept pace with the Terraform release schedule (well, mostly).

With the client I’m working with now, an older version is used in all of the CI/CD pipelines; something I plan to address later. Specifically, Terraform version 0.11.13 is used. Because I have both personal and client related work on my laptops, tfenv is a great tool that allows for switching around to different versions. The installation is simple:

  1. brew install tfenv
  2. tfenv install <X.X.X>
  3. tfenv use <X.X.X>

See the tfenv README for more information.

Leave a comment

Close Bitnami banner
Bitnami