【问题标题】:Terraform: The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ValidateProviderConfig callTerraform:插件遇到错误,无法响应插件。(*GRPCProvider).ValidateProviderConfig 调用
【发布时间】:2021-12-28 15:11:20
【问题描述】:

The plugin logs may contain more details

我正在尝试在 terraform 中的 aws 上的 eu-central-1 区域部署 EKS 集群。 我在这里做错了什么? 这是我的提供者:

provider "aws" {
  region = "eu-central-1"
}
❯ terraform validate
╷
│ Error: Plugin did not respond
│
│   with provider["registry.terraform.io/hashicorp/aws"],
│   on provider.tf line 1, in provider "aws":
│    1: provider "aws" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ValidateProviderConfig call. The plugin logs may contain more details.

【问题讨论】:

    标签: terraform terraform-provider-aws


    【解决方案1】:

    似乎 terraform 可以在 Apple M1 芯片上非常难以预测地工作:

    https://github.com/hashicorp/terraform-provider-aws/issues/16948

    天哪,这已经是第五次了。如果您只需等待 20 分钟并再次运行terraform init/validate/apply,通常您的问题就会解决。 如果你遇到这个问题,试试吧!有效!

    【讨论】:

    • 我连续快速发送垃圾邮件terraform apply 3 次,它总是在第三次有效(是的,这很荒谬)Terraform v1.1.4 on darwin_amd64 + provider registry.terraform.io/hashicorp/aws v3.74.0
    猜你喜欢
    • 2021-04-29
    • 2021-11-27
    • 2012-09-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-11-14
    • 2020-02-05
    相关资源
    最近更新 更多