简体   繁体   English

Terraform 计划无法完成

[英]Terraform Plan unable to finish

I have a terraform code, and i'm trying to run terraform plan locally on rds module.我有一个 terraform 代码,我正在尝试在 rds 模块上本地运行 terraform 计划。 This module was working before, I'm not sure what i messed up in my system.这个模块以前工作过,我不确定我的系统出了什么问题。

Error: dial tcp: lookup xxxxxxxx.us-east-1.rds.amazonaws.com on 192.168.1.1:53: no such host

Error: could not start transaction: dial tcp: lookup xxxxxx.us-east-1.rds.amazonaws.com on 192.168.1.1:53: no such host

Can someone pls point me how to fix this error.有人可以指点我如何解决这个错误。

Looks like your DNS is messed up.看起来你的 DNS 搞砸了。 Based on your platform, try configuring the DNS nameserver.根据您的平台,尝试配置 DNS 名称服务器。

For example, on Linux, edit /etc/resolv.conf and add:例如,在 Linux 上,编辑/etc/resolv.conf并添加:

nameserver 8.8.8.8  

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM