Codementor Events

TFV: Terraform Version Manager

Published Dec 07, 2021
TFV: Terraform Version Manager

About me

DevOps and Software Engineer

The problem I wanted to solve

Managing multiple terraform versions has been a good experience, until I tried using existing CLI tools to manage multiple terraform versions on a Windows machine. So, I was motivated to create a CLI tool for managing terraform versions irrespective of my computing environment.
I created TFV, a NodeJS CLI tool that does this with ease. It works on Windows, Linux, and macOS - same command, same result irrespective of your computing environment.

What is TFV: Terraform Version Manager?

TFV is a terraform version manager that is build with NodeJS. It is meant to help you store multiple versions of terraform and switch to a desired version anytime. TFV provides several APIs which can help you do the following:

  • Download a terraform version
  • Switch to a desired terraform version
  • List all installed terraform versions
  • List all remote terraform versions

Tech stack

NodeJS, JavaScript

Install
Codebase

Final thoughts and next steps

Next version would contain more interesting APIs

Discover and read more posts from Marcus Chukwuoma
get started