我们正在使用一个由许多模块组成的复杂的terraform项目。我已经添加了一个CloudSQL数据库模块,它需要hashicorp/null版本~> 3.1.0,但我的项目中的另一个模块似乎对hashicorp/null版本~> 2.1有依赖约束。provider hashicorp/null:
no available releases match the given constraints ~> 2.
我正在按照Target Resources教程进行操作,但在运行terraform init设置步骤时遇到以下故障: │ Error: Failed to query available providerinit -upgrade to allow selection of new versions 运行terraform init -upgrade会导致类似的错误消息: │ Error: Failed/main.tf中指定的~>3.39.0版本与来自s3_bucket模块(.te
我正在使用新的apple M1 pro,当我运行terraform init时,我无法查询可用的提供程序包错误。/hashicorp/aws 2.70.0 does not match configured version constraint ~>│
│ Could not retrieve the list of available versions
今天我想运行我们的terraform代码来做一个小小的改动。但是我开始得到这个错误:provider.spotinst: plugin exited before we could connect插件在我们可以连接之前就已经退出了,‘我们使用这个terraform我们的Spotinst版本的定义如下:这就是我们使用的插件: --我不明白为什么我们开始得到这个错误。有人有主意吗?谢谢。
set HTTP_PASSWORD=mypwd>terraformThis may indicate a network issue, or an issue with the requested Terraform Registry.但是我不确定terraform init实际上是哪一个URL/service API正在获得访问