当我执行 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,你在那里做了什么特殊的事情还是只是一个标准的缓存服务器? - ydaetskcoR