How do I troubleshoot the error "Cannot create a replica of table" when I try to add a replica to an Amazon DynamoDB global table?
Last updated: 2022-08-25
I'm trying to add a replica to an Amazon DynamoDB global table. but the operation fails with the exception “LimitExceededException” and throws an error "Cannot create a replica of table".
This error occurs when the write throughput for the DynamoDB global table exceeds the default Regional quota of 40,000 at table level. In this case, you must request a service quota increase for add replica quota write capacity units (WCU). Global tables implement checks when you add a replica to be sure that the table has sufficient capacity to replicate writes.
You can create a case in the AWS Support Center to request a quota increase for DynamoDB global tables. When you submit your quota increase request, be sure to provide the following information:
- Table names of the global table
- All Regions where you need the global table to have replicas, including existing Regions
- Steady state WCU utilization of the global table
- Peak WCU utilization of the global table
You're notified through an email when your request is approved.