RequestError: send request failed

terraform plan
Acquiring state lock. This may take a few moments…

│ Error: error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: RequestError: send request failed
│ caused by: Post “”: dial tcp: lookup on no such host

│ with provider[“Terraform Registry”],
│ on line 1, in provider “aws”:
│ 1: provider “aws” {

Releasing state lock. This may take a few moments…

Your private network environment appears to block access to the internet.

not really. anything else you could think of from the terraform perspective?

You literally have an error message telling that your DNS server doesn’t think exists.

I’m able to do terraform plan on other aws account. This error was specific to one account.
And the terraform version used is different.