Copy Dynamodb table to another in the same or different zone , It is 100% safe. Speed depends on your destination table user-defined write provisioned throughput
Hey @enGMzizo, I love this tool, already copied a few tables over into new global table versions. I have an issue with one table, it doesn't seem to be copying and there is no output after running the function. I am wondering how can I bubble up the errors from the aws-sdk?
If I debug the copy() function, I end up @ aws-sdk/lib/event_listeners.js and I see the error in resp.error.message and the status code is 400.
resp.error={
message: "One or more parameter values were invalid: Type mismatch for Index Key individual_id Expected: N Actual: S IndexName: individual_id-index",
code: "ValidationException",
time: {
},
requestId: "***",
statusCode: 400,
retryable: false,
retryDelay: 2.9211740648415696,
}
I think it would be helpful if the message was bubbled up, but not sure how to do that with js. Any help would be appreciated. I have tried wrapping copy() in a try catch but got no output.
I apologize I am still learning nodejs. I probably didnt have the right debugger attached and fixed it with adding
"console": "integratedTerminal" to my vscode launch.json
Hey @enGMzizo, I love this tool, already copied a few tables over into new global table versions. I have an issue with one table, it doesn't seem to be copying and there is no output after running the function. I am wondering how can I bubble up the errors from the aws-sdk?
If I debug the copy() function, I end up @ aws-sdk/lib/event_listeners.js and I see the error in resp.error.message and the status code is 400.
I think it would be helpful if the message was bubbled up, but not sure how to do that with js. Any help would be appreciated. I have tried wrapping copy() in a try catch but got no output.