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
질문됨 7달 전177회 조회
2개 답변
1
수락된 답변

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
전문가
답변함 7달 전
profile picture
전문가
검토됨 7달 전
  • 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
답변함 7달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠