aws-cdk-dynamodb-seeder-examples
June 6, 2020 ยท View on GitHub
Example usage of aws-cdk-dynamodb-seeder
Compatibility
How do I use it
Install the dependencies using your favourite package manager:
yarn
Deploying the stacks
This command will deploy the seeder stack (and the table stack if not already deployed):
npm run cdk -- [--profile profile] deploy seeder-stack --require-approval never
Tearing down the seed
To teardown (remove) seed data from the table:
npm run cdk -- cdk [--profile profile] destroy seeder-stack --force