Member-only story

Upgrading Terraform to a Specific Version

Navigate Through Terraform Versions with Ease and Precision using tfenv

Luca Berton
5 min readFeb 4, 2024

Introduction

Upgrading Terraform to a specific version, especially when you’re not ready to jump to the latest release, can seem challenging at first. This guide provides a clear pathway for users who need to manage multiple versions of Terraform, particularly when a precise upgrade path is required for compatibility or testing purposes. Let’s dive into how you can upgrade Terraform to a specific version, such as from v0.11.13 to v0.11.14, before considering a major upgrade to v0.12.0 or beyond.

The Challenge

For many users, the default upgrade path using package managers like Homebrew on macOS may not offer the control needed for incremental upgrades. Directly upgrading to the latest version (e.g., from v0.11.13 to v0.12.0) might introduce changes that require significant adjustments to your Terraform configurations. The goal here is to achieve a controlled upgrade to v0.11.14, ensuring compatibility and stability before making a larger version leap.

The Solution: tfenv

Enter tfenv, a Terraform version manager that simplifies the process of managing multiple Terraform versions. It offers a seamless…

--

--

Luca Berton
Luca Berton

Written by Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday

No responses yet