Fix Terraform DNS Lookup Issues While on VPN with Mac OSX

July 16, 2021

Terraform on my MacBook kept having DNS resolution issues with the AWS plugin while on VPN.

Because Terraform uses GoLang it resolves DNS differently than the rest of the system.

This is explained here:

To resolve the issue install “DNS-heaven”