-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Error configuring the backend "s3": Not a valid region: eu-west-3 #2745
Comments
Hi @pbramy! Thanks for opening an issue. This is actually a bug with upstream Terraform, since the backends are contained there. I'll submit a pull request and link back to this issue, but unfortunately I can't merge it there. |
In the meantime, you can use the |
@jen20 Thank a lot for your feedback. I tried the following in the main.tif without success.. Did I do wrong ? main.tf provider "aws" { |
|
@loivis is correct here - the relevant code is: https://github.com/hashicorp/terraform/blob/master/backend/remote-state/s3/backend.go#L139-L144 - you'll need a literal |
Dear all,
plugin. backend declaration...
I moved the declaration in provider Error initializing new backend: Last post for 2017... let's see if 2018 will be better.. |
Hi folks, Regarding @pbramy's error, there are multiple things to note:
Hope it helps and makes sense. We just need a bit more patience here :) Happy Terraforming! |
Hi @Ninir, |
Support for the eu-west-3 region in the S3 backend was released in Terraform core 0.11.3. Closing this out! |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
After rebuilding the plugin for region eu-west-3.
We are able to create ressources .
One problem is still open is the usage of the region eu-west-3 in the S3 backend
Terraform Version
Terraform v0.11.1
Affected Resource(s)
Please list the resources as a list, for example:
S3 backend
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
terraform {
backend "s3" {
bucket = "deploystate"
key = "AWS/PARIS/tfstate"
region = "eu-west-3"
}
}
Debug Output
Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.
Expected Behavior
What should have happened?
We expect to use the S3 backend in the region eu-west-3
Actual Behavior
What actually happened?
After rebuilding the plugin with the fix to introduce the eu-west-3, terrafrom apply is OK for ressources creation.
Last problem is the S3 backend usage in the region.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform init
The text was updated successfully, but these errors were encountered: