-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid AWS Region: eu-central-2 coming from Terraform CLI #33575
Comments
Hi @dosilyoun, The set of valid regions is encoded in the AWS SDK that Terraform uses to interact with S3, and so this region might be available in a newer version of the SDK. Have you tried with the latest version of Terraform to see if the SDK is updated to know about this region? At the time I'm writing this comment the latest release is v1.5.3. If even the latest version does not support this region then we may need to upgrade to a newer version of the AWS SDK to get support for it, and then make a new Terraform release with the updated SDK. In the meantime you can configure the backend to assume all regions are valid using the option you already found. Thanks! |
Per #33469 (comment), there is a project to upgrade the aws sdk version underway. Just FYI. |
@apparentlymart for your responses and thank you @crw for sharing the update on upgrade progress. For extra clarity let me add more details here: Problem is not with with the providers. (It could be with providers if your root module is using those regions, but that's the concern of aws team to resolve). As far as terraform is concerned issue is with backend backed by During the terraform Support for zuich was added in aws-sdk-go@v1.44.35 and for Melbourne in aws-sdk-go@v1.44.85. One thing i would like to advise aws folks is to be more verbose about such major release. Nowhere in the changelog it's mentioned that zurich support is added: aws/aws-sdk-go#4619 |
Discussion is going on #33607 |
The provider teams maintain the backends in their respective domains. The AWS team maintains the S3 backend, Azure team maintains the Azure backend, etc. Just FYI. |
In the meantime the I see references to |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Terraform Version
Terraform Configuration Files
Debug Output
Upgrading modules...
Initializing the backend...
region
AWS region of the S3 Bucket and DynamoDB Table (if used).
Enter a value: eu-central-2
╷
│ Error: Invalid AWS Region: eu-central-2
│
│
╵
Expected Behavior
no error message without region_skip_validation
Actual Behavior
Error: Invalid AWS Region: eu-central-2
Steps to Reproduce
terraform init
Additional Context
No response
References
No response
The text was updated successfully, but these errors were encountered: