The new Stockholm region is released, and has the identifier eu-north-1
{
"Endpoint": "ec2.eu-north-1.amazonaws.com",
"RegionName": "eu-north-1"
},
We should add support for this new region, however, I don't know enough about the aws provider to do so myself.
Currently this hasn't been posted on either the AWS blog, but the region shows up in the aws-cli when running aws ec2 describe-regions as well as on the AWS Regions and Endpoints page.
https://aws.amazon.com/blogs/aws/now-open-aws-europe-stockholm-region/ here's the blogpost
terraform -v
Terraform v0.11.10
+ provider.aws v1.51.0
+ provider.template v1.0.0
Code;
provider "aws" {
region = "eu-north-1"
}
terraform apply
Error: Error refreshing state: 1 error(s) occurred:
* provider.aws: Not a valid region: eu-north-1
Support for automatic validation of this new region will be available in version 1.52.0 of the AWS provider, hopefully releasing later today if there are no new issues with the updated AWS Go SDK. 👍
If you are itching to try out the new region in the meantime, you can configure the Terraform AWS provider to skip region validation, e.g.
provider "aws" {
# ... other configuration ...
region = "eu-north-1"
skip_region_validation = true
}
We'll also need to add support for eu-north-1 to various data sources such as aws_elb_service_account.
I've noticed that we need to update these for a number of recently added regions so I'll open another issue to go through, check and fix where necessary.
@ewbankkit this list may or may not be up to date: https://github.com/terraform-providers/terraform-provider-aws/blob/master/.github/CONTRIBUTING.md#new-region
Hi,
I am using skip_region_validation = true with 1.51 but still fails. Any clue? 10x
provider "aws" {
version = "~> 1.51"
alias = "staging"
profile = "foobar-stg"
region = "eu-north-1"
skip_region_validation = true
allowed_account_ids = ["555555555"]
shared_credentials_file = "~/.aws/credentials"
}
This has been released in version 1.52.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.
this is still a (big) problem, generates lot of frustration.
terraform version
Terraform v0.11.13
@dagjsolheim Can you provide output please?
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!
Most helpful comment
This has been released in version 1.52.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.