简体   繁体   中英

Terraform Plan unable to finish

I have a terraform code, and i'm trying to run terraform plan locally on rds module. 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. Based on your platform, try configuring the DNS nameserver.

For example, on Linux, edit /etc/resolv.conf and add:

nameserver 8.8.8.8  

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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