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 “https://sts.amazonaws.com/”: dial tcp: lookup sts.amazonaws.com on 100.64.0.1:53: no such host

│ with provider[“Terraform Registry”],
│ on terraform.tf 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 sts.amazonaws.com 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.