Terraform-provider-aws: Add support for region eu-north-1

Created on 12 Dec 2018  ·  11Comments  ·  Source: hashicorp/terraform-provider-aws

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

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.

References

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.

enhancement provider

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.

All 11 comments

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.

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

  • provider.aws v2.11.0
  • provider.template v2.1.2
    skip_region_validation = true or skip_region_validation = true does not help.

@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!

Was this page helpful?
0 / 5 - 0 ratings