Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add support for local synchronization. #27

Open
CharlieDigital opened this issue May 18, 2022 · 1 comment
Open

feat: Add support for local synchronization. #27

CharlieDigital opened this issue May 18, 2022 · 1 comment

Comments

@CharlieDigital
Copy link

Use Case

At current, it is not possible to synchronize from a remote DynamoDB to a local instance (e.g. running the local emulator or Docker image) due to how the client connection is constructed.

This functionality can be really useful to create a local copy of a remote DDB for testing and development purposes (or possibly even in a CI pipeline).

Proposal

Reuse the existing command line flag --slave-profile to accept a URL endpoint for the localhost when running in local mode.

This will allow synchronization between a remote DynamoDB instance and a local DynamoDB instance.

Key Changes

  • Update the argument processing to detect the local endpoint
  • Update the client connection to use the local endpoint
  • Update documentation on how to use the local mode.
@CharlieDigital CharlieDigital changed the title feat: Add supprot for local synchronization. feat: Add support for local synchronization. May 18, 2022
CharlieDigital added a commit to CharlieDigital/dynamodb-table-sync that referenced this issue May 18, 2022
CharlieDigital added a commit to CharlieDigital/dynamodb-table-sync that referenced this issue May 18, 2022
CharlieDigital added a commit to CharlieDigital/dynamodb-table-sync that referenced this issue May 18, 2022
@ned-kelly
Copy link

+1

jthomerson pushed a commit to CharlieDigital/dynamodb-table-sync that referenced this issue Jul 6, 2024
jthomerson pushed a commit to CharlieDigital/dynamodb-table-sync that referenced this issue Jul 6, 2024
jthomerson pushed a commit to CharlieDigital/dynamodb-table-sync that referenced this issue Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants