根据我的理解,tenv 应该从 versions.tf 中检测 terraform 版本,但这不起作用,还是我做错了什么?
cat versions.tf
terraform {
required_version = "1.5.7"
}
但是对于 tenv 检测我有一个错误:
tenv tf detect -n
No version files found for Terraform, fallback to latest-allowed strategy
Scan project to find .tf files
Error: no compatible version found
我检查了
tofuenv
和tfenv
,但看起来他们根本不支持该选项