Terraform Version Manangement

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

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Access the most powerful time series database as a service
  • 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/

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • 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