Docker application for exporting data from Amazon DynamoDB.
Sample configuration and its description can be found here.
After successful extraction there are several CSV files which contains exported data. First output
file is named after name
parameter in export configuration. Other files are named after destination
parameter in mapping section.
Also, there is manifest file for each of the export.
Requirements:
- Docker Engine:
~1.12
- Docker Compose:
~1.8
Application is prepared for run in container, you can start development same way:
- Clone this repository:
git clone git@github.com:keboola/dynamodb-extractor.git
- Change directory:
cd dynamodb-extractor
- Build services:
docker compose build
- Run tests
docker compose run --rm app composer ci
After seeing all tests green, continue:
- Run service:
docker compose run --rm app bash
- Create tables/indexes and load sample data:
php tests/fixtures/init.php
- Write tests and code
- Run tests:
composer tests
To simulate real run:
- Create data dir:
mkdir -p data
- Follow configuration sample and create
config.json
file and place it to your data directory (data/config.json
) - Simulate real run (with entrypoint command):
php ./src/app.php run ./data
MIT licensed, see LICENSE file.