Open joanayma opened 1 year ago
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:
.terraform-version
latest-allowed
$ 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:
0.12.31
min-required
$ tfenv --version tfenv 3.0.0
Possibly related: #360 (see my note).
When I have a main.tf:
and a
.terraform-version
withlatest-allowed
I execute this:I expect it to return
0.12.31
. If I usemin-required
in.terraform-version
it works as expected. tfenv version: