kislerdm / terraform-provider-neon

Terraform provider to manage Neon SaaS resources
https://registry.terraform.io/providers/kislerdm/neon/latest/docs
Mozilla Public License 2.0
27 stars 10 forks source link

Creating a project using "aws-us-east-1" region fails #65

Closed rshulman-trigo closed 6 months ago

rshulman-trigo commented 6 months ago

Hi and thanks for developing this!

We are facing an issue creating a new project using the "aws-us-east-1" region. From the docs it seems this region is supported, and trying to create a project using the api works, but terraform outputs region aws-us-east-1 is not supported yet: https://neon.tech/docs/introduction/regions/. I think it's related to this check.

Thank you!

Terraform Version

Terraform v1.6.6

Provider Version

provider registry.terraform.io/kislerdm/neon v0.3.1

Affected Resource(s)

Terraform Configuration Files

resource "neon_project" "this" {
    name      = "this"
    region_id = "aws-us-east-1"
}

Steps to Reproduce

  1. terraform apply
kislerdm commented 6 months ago

Hey @rshulman-trigo! Thank you for opening the issue and for pointing out the root cause!

Would you like to implement the fix?

Thanks!