-
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
Route53 failed to specify region #9052
Comments
Hi @shengbo66 👋 Thank you for reporting this and sorry for the trouble. The hardcoded Is there United States viewable documentation for the Route 53 service in AWS China available? It is not currently listed in the English version of the AWS China services documentation: https://www.amazonaws.cn/en/about-aws/regional-product-services/ but I was able to find some recent Chinese articles that seem to confirm the I will go ahead and submit the change to automatically set the AWS China Route 53 endpoint since the AWS Go SDK does not currently include this information. |
Pull request submitted: #9060 |
The automatic configuration of the AWS China endpoint and region for the Route 53 service client within the Terraform AWS Provider has been merged and will release with version 2.16.0, likely tomorrow. 👍 |
Hi @bflad Very happy for your quick response. The route53 in China region is in preview phase and will be reach GA soon. we are helping customer doing testing with Terraform. Thanks again for your strong support! |
This has been released in version 2.16.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
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! |
Community Note
Terraform Version
Affected Resource(s)
resourceAwsRoute53DelegationSet(),
resourceAwsRoute53QueryLog(),
resourceAwsRoute53Record(),
resourceAwsRoute53ZoneAssociation(),
resourceAwsRoute53Zone(),
resourceAwsRoute53HealthCheck(),
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
In China region, we have to specify the region as "cn-northwest-1" for route53 service
Actual Behavior
the region is hard code to "us-east-1" in config.go;
r53conn: route53.New(sess.Copy(&aws.Config{Region: aws.String("us-east-1"), Endpoint: aws.String(c.Endpoints["route53"])})),
Steps to Reproduce
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: