Terraform Version Manangement

This page summarizes the projects mentioned and recommended in the original post on /r/Terraform

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • tfenv

    Terraform version manager

  • asdf

    Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more

  • We use asdf for managing multiple binary versions. You just add a .tool-versions file with the application and version number in the root directory and just uses that version when you're running tf. https://asdf-vm.com/

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • hcledit

    A command line editor for HCL

  • I would suggest a CI step that reads the .terraform-version file and then uses hcledit to update that block in the code.

  • hcl2json

    Convert hcl2 to json

  • If you do go down this rabbit hole, I would also consider using hcl2json and parsing that output with jq to discover where the relevant configuration edits need to occur.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts