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:
https://github.com/hashicorp/terraform/issues/3536
To resolve the issue install “DNS-heaven”