awslabs/dynamodb-cross-region-library

Create Fails, not seeing any logs?

DaveWK opened this issue · 2 comments

I have created a replication group with an existing table and master. When I create, it says "WAITING" under the "replication connections", then eventually just says "CREATE FAILED"

Is there any place I should be looking for indications as to why it failed or why it's waiting? I don't see anything helpful in beanstalk logs.

Found the cloudwatch logs. seeing this in log:

ERROR com.amazonaws.services.dynamodbv2.replication.coordinator.state.DynamoDBReplicationGroupMemberPriorityTransition - Launching resources failed for replication member with ARN: XXXX ! Exception: java.lang.IllegalStateException: Timeout waiting for service DynamoDBTableCopy439b6c80d380673e7eca518d0212a2f0 to become ACTIVE.

Figured it out: ECS cluster didn't have enough resources to spawn the task. Added another ec2 to cluster.