tfenv icon indicating copy to clipboard operation
tfenv copied to clipboard

Ability to configure where terraform's current version is stored

Open next-jesusmanuelnavarro opened this issue 3 years ago • 2 comments

Use case: I work on multiple projects at the same time, each of them (potentially) using a different Terraform version.

Current status: As of now, both downloaded versions and current selected version "live" within the local copy of the tfenv repository which means that I either checkout as many copies of the tfenv as projects I'm working with or I can only have one terraform version selected for all projects (and I can be working simultaneously on different projects on different consoles).

Request: It would be great if I could somehow set per-project terraform version (i.e.: on a state file within each project) instead of having a single one shared all along my home directory.

Thanks for this great project!

next-jesusmanuelnavarro avatar Mar 17 '21 16:03 next-jesusmanuelnavarro

Are you not describing the .terraform-version file?

Zordrak avatar Jul 14 '22 13:07 Zordrak