错误terraform init,plan,apply

时间:2018-06-19 07:18:17

标签: terraform terraform-provider-aws

我在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".

任何线索?

2 个答案:

答案 0 :(得分:1)

如果您使用的是MacOS并安装了LittleSnitch,则terraform会因其无效签名而被小小的窃听器阻止。只需删除相应的规则或在LittleSnitch中对其进行修改即可。

答案 1 :(得分:0)

当您的计算机和s3之间存在连接问题时,会发生这种情况。这可能是由于这段时间的互联网不稳定所致。

一旦能够连接s3,它应该会自动修复。

相关问题