Replica issue in DynamoDB

0

I am trying to create a DDB table with replica on a region. But I got an issue due to replica already existed, I guess because the table created before but remove and recreated so some cache in the service side. Now i am not able to release to create the table with replica. I even manually create the replica, but still not working. does somebody know how to delete the underlying replica?

Failed to create a the new replica of table with name: ‘AxxxDataStore-ResourceTags’ because one or more replicas already existed as tables.
Joe
preguntada hace 7 meses173 visualizaciones
2 Respuestas
1
Respuesta aceptada

Make sure no table with the name AxxxDataStore-ResourceTags exists in the destination region. Also make sure that no IaC code references such a replica, it must be removed from all references. Then add the replica to your existing table in the source region, you should have no issue.

profile pictureAWS
EXPERTO
respondido hace 7 meses
profile picture
EXPERTO
revisado hace 7 meses
  • yeah, agree, but it doesn't recognize as a replica, a replica is a table in other region, in my case, it does have a same name table in other region which I was supposing to create in.

  • If you have an existing table in the destination region which already has that name, you must first remove it.

-1

This error typically arises when a DynamoDB table is deleted, but its replicas in other regions persist. If these replicas remain in other regions, it becomes impossible to create a new table with the same name. This is because the global table may still require that namespace within the region

When a table is deleted, it may take a few minutes to be fully removed from the backend servers. The metadata associated with the table's name may still linger. Therefore, it's advisable to wait a few minutes before attempting to recreate a table with the same name to avoid encountering an error indicating that the table already exists.

AWS
respondido hace 7 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas