Terraform

Installation & versions

Install and use a specific version

17-05-2024, source: StackOverflow

Use tfenv to enable management of the various Terraform versions.

  • Install tfenv:

    brew install tfenv
  • List Terraform versions:

    brew install tfenv
  • Install a specific Terraform version:

    tfenv install 1.6.2
  • Use a specific Terraform version (must be previously installed):

    tfenv use1.6.2