Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.06 KB

File metadata and controls

32 lines (20 loc) · 1.06 KB

aws-cdk-dynamodb-seeder-examples

Example usage of aws-cdk-dynamodb-seeder

Compatibility

GitHub package.json dependency version (prod) GitHub package.json dependency version (prod)

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