-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Terraform v0.11.2 with provider.aws v1.7.0 doesn't support region cn-northwest-1 #3053
Comments
My aws cli works fine upon the region, it looks like the provider issue
|
I hit this also in:
Kinda looks like it just needs adding to accepted params for the ValidateRegion() function in config.go
https://github.com/terraform-providers/terraform-provider-aws/blob/master/aws/config.go#L495 I also notice there's an IsChinaCloud flag that's currently only set for cn-north-1. I wouldn't be surprised if this needs setting for cn-northwest-1 to construct China service endpoints correctly:
https://github.com/terraform-providers/terraform-provider-aws/blob/master/aws/config.go#L223 I don't have a go dev environment, but if it's quick and easy to set one up, I'll try fixing it and put in a PR if it really is this simple ;) |
Support AWS cn-northwest-1 Ningxia (fixes #3053)
Support for this new region has been merged into master and will be released with v1.8.0, hopefully later today. |
This has been released in terraform-provider-aws version 1.8.0. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. Important note: if you're planning on using |
* commit '8937a3a4e9d77c8089cf147861b604e3a2d8cf7e': (47 commits) v1.8.0 Update CHANGELOG.md resource/aws_dynamodb_table: Refactoring (hashicorp#3136) Update CHANGELOG for hashicorp#3171 resource/aws_elastic_beanstalk_application: Prevent crash on reading missing application chore(vendor): bump aws-sdk-go to v1.12.70 typo guardduty import test Update CHANGELOG for hashicorp#3142 Removed empty strings test/aws_dynamodb_global_table: Use single region for basic and import testing resource/aws_sqs_queue: Retry creation on QueueDeletedRecently for additional 10 seconds docs/CONTRIBUTING: Use aws_cloudwatch_dashboard for acceptance test examples docs/CONTRIBUTING: New Region: don't add empty mappings Update CHANGELOG.md resource/aws_rds_cluster: Retry deletion on InvalidDBClusterStateFault docs/CONTRIBUTING: Remove pre-split provider directory references from testacc commands Add service account IDs docs/CONTRIBUTING: New Region Support AWS cn-northwest-1 Ningxia (fixes hashicorp#3053) Update CHANGELOG.md ... # Conflicts: # aws/validators.go
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! |
This issue was originally opened by @yydoow as hashicorp/terraform#17136. It was migrated here as a result of the provider split. The original body of the issue is below.
Hello,
I am trying to ran terraform upon the new launched China region cn-northwest-1 with following version
Terraform Version
I also checked the github code, it seems with version I am running has the region supported
8499d2e#diff-59e28844253678de7bce92be14f06597
I have no idea the issue here, could you please help me !
Thanks
Terraform Configuration Files
Debug Output
Crash Output
Expected Behavior
Actual Behavior
Steps to Reproduce
Additional Context
References
The text was updated successfully, but these errors were encountered: