【发布时间】:2018-11-28 01:50:26
【问题描述】:
在 terraform init、plan 或 apply 时遇到以下错误
Failed to load backend:
Error configuring the backend "s3": RequestError: send request failed
caused by: Post https://sts.amazonaws.com/: dial tcp: lookup sts.amazonaws.com on 127.0.1.1:53: server misbehaving
Please update the configuration in your Terraform files to fix this error.
If you'd like to update the configuration interactively without storing
the values in your configuration, run "terraform init".
有什么线索吗?
【问题讨论】:
-
似乎无法解析服务。
dig sts.amazonaws.com的输出是什么?那个 DNS 服务器看起来像一个本地 DNSMasq,你在那里做了什么特别的事情还是它只是一个股票缓存服务器? -
遇到了类似的问题“配置后端“s3”时出错:RequestError:发送请求失败”,这加起来是我的 Mac (libressl) 上的 ssl 有问题,重启就成功了跨度>
标签: terraform terraform-provider-aws