Cannot create API Gateway v2 in multiple regions with Route 53 latency-based routing

0

I want to create a global service comprised of API Gateway v2 (a.k.a. HTTP APIs) in multiple AWS regions with Route 53 latency-based routing handling traffic distribution for clients around the world. This will require each of the HTTP APIs to have the same custom domain configured. The HTTP APIs are configured as regional APIs.

However, when I attempt to configure the custom domain in a second region, I'm presented with this error:

Error: error creating API Gateway v2 domain name (redacted-my-domain-name.com): BadRequestException: The domain name you provided already exists.

This architecture works as expected if I use API Gateway v1 (a.k.a. REST APIs). Thus, I think this is a regression in v2.

Is this supposed to work?

  • Further experimentation shows that I can produce this same error by attempting to create the same custom domain in a second AWS account in the same region.

已提问 2 年前159 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则