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.

demandé il y a 2 ans159 vues
Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions