tfenv icon indicating copy to clipboard operation
tfenv copied to clipboard

Support terraform config for auto-detect

Open lifeofguenter opened this issue 6 years ago • 3 comments

It would be great if tfenv could also directly support .tf to automatically detect which version to use - instead of having to manually run tfenv install min-required.

This would make it possible to avoid having to manage the version in two different files.

lifeofguenter avatar Aug 15 '19 06:08 lifeofguenter

An enhancement to support this could resolve #230

Zordrak avatar Feb 06 '21 19:02 Zordrak

Is there any chance to have this implemented?

IMKnysh avatar Apr 15 '21 07:04 IMKnysh

@IMKnysh For this reason I moved to tfswitch which seems to be more robust.

antonbabenko avatar Apr 15 '21 07:04 antonbabenko

btw. you can also use tenv that support Terraform as well as OpenTofu (and Terragrunt :) ) in one tool. It allow you to simplify version management and can do much more, than tfswitch.

kvendingoldo avatar Apr 03 '24 14:04 kvendingoldo