awslabs/dynamodb-cross-region-library

Replication Group disappeared from console

DaveWK opened this issue · 4 comments

Hi,
I created a replication group yesterday, and it no longer shows up in the console. The replication appears to still be working properly between the tables.

I tried "restarting the app server" through beanstalk, but no luck. I can see the name of the group in the DynamoDBReplicationCoordinatorMetadata DynamoDB table.

Can you double check your IAM permission for the access keys that you used in the console? What happens when you click the refresh button in the top right corner? Does anything show up in the browser javascript console?

IAM Permissions are as listed on the doc; DynamoDB read/write and SQS for the created queues.

Seeing this in the console logs when I click the "Refresh" button (which continues to spin):

Failed to load replication groups: Failed to get list of replication groups: MissingRequiredParameter: Missing required key 'TableName' in params(anonymous function) @ vendor.js:5(anonymous function) @ scripts.js:1(anonymous function) @ scripts.js:1(anonymous function) @ vendor.js:25d.SequentialExecutor.d.util.inherit.callListeners @ vendor.js:25d.SequentialExecutor.d.util.inherit.emit @ vendor.js:25d.Request.f.emitEvent @ vendor.js:25a @ vendor.js:25d.runTo @ vendor.js:26(anonymous function) @ vendor.js:26(anonymous function) @ vendor.js:25(anonymous function) @ vendor.js:25d.SequentialExecutor.d.util.inherit.callListeners @ vendor.js:25d.SequentialExecutor.d.util.inherit.emit @ vendor.js:25d.Request.f.emitEvent @ vendor.js:25a @ vendor.js:25d.runTo @ vendor.js:26(anonymous function) @ vendor.js:26a @ vendor.js:25d.runTo @ vendor.js:26d.Request.f.runTo @ vendor.js:25d.Request.f.send @ vendor.js:25d.Service.g.makeRequest @ vendor.js:25a.(anonymous function).a.(anonymous function) @ vendor.js:25g.listReplicationGroups @ scripts.js:1b.updateReplicationGroups @ scripts.js:1m @ vendor.js:5(anonymous function) @ vendor.js:5k.$eval @ vendor.js:5k.$digest @ vendor.js:5k.$apply @ vendor.js:5(anonymous function) @ vendor.js:5

Ah, got it. Looks like you're directly going to the console link, "https://dynamodb-cross-region-replication-console.s3.amazonaws.com/index.html#/". However, at the moment, you need to give the full parameterized URL from the CloudFormation template output. I.E. https://dynamodb-cross-region-replication-console.s3.amazonaws.com/index.html#/MetadataTableName=MyMetadata&...

That fixed it, thanks!