tfenv
tfenv copied to clipboard
Unsupported version spec
When I have a main.tf:
terraform {
required_version = "0.12.31"
backend "s3" {}
}
# Truncated
and a .terraform-version
with latest-allowed
I execute this:
$ tfenv version-name
Unsupported version spec: '0.12.31', only >, >=, <=, and ~> are supported.
1.3.4
I expect it to return 0.12.31
.
If I use min-required
in .terraform-version
it works as expected.
tfenv version:
$ tfenv --version
tfenv 3.0.0
Possibly related: #360 (see my note).