Hi All.
I’m using terraform --version
Terraform v1.13.4
on linux_amd64
to deploy ec2 resources in AWS Mexico region mx-central-1. At runtime I get failures:
Plan: 4 to add, 0 to change, 0 to destroy.
╷
│ Error: Invalid provider configuration
│
│ Provider " Terraform Registry " requires explicit
│ configuration. Add a provider block to the root module and configure the
│ provider’s required arguments as described in the provider documentation.
│
╵
╷
│ Error: invalid AWS Region: mx-central-1
│
│ with provider[" Terraform Registry "],
│ on line 0:
│ (source code not available)
My terraform provider is:
required_providers {
aws = {
source = “hashicorp/aws”
version = “~> 5.84”
}
}
}
Can you please help debug ?