ITADN

tfswitch is not matching the correct version based versions.tf constraint

#684Closedet304383 创建于 2025-12-17
E
et304383commented
``` [instances]$ cat versions.tf terraform { required_providers { aws = { source = "hashicorp/aws" version = "~> 5" } cloudflare = { source = "cloudflare/cloudflare" version = "~> 5" } } required_version = "~> 1.6" } [instances]$ tfswitch 07:57:13.265 INFO Reading version constraint from Terraform module at "." 07:57:13.493 INFO Reading required version from constraint: "~> 1.6" 07:57:13.495 INFO Matched version: "1.14.3" ``` 1.14.x does not match the constraint of ~> 1.6. tfswitch should have downloaded 1.6.6
关闭于 2025-12-17 3 条评论