tfutils / tfenv

Terraform version manager
MIT License
4.48k stars 454 forks source link

'latest-allowed' version as opposite to 'min-required' #307

Closed OJFord closed 1 year ago

OJFord commented 2 years ago

min-required is convenient to use the already required terraform { required_version = ... }. More often than the oldest version allowed by that spec though, I'd like to be using the latest.

It would be great if (in addition to the latest and latest:<regex> already supported) tfenv supported a latest-allowed (or similar) that would choose the latest version subject to the required_version.