https://github.com/elegantdevelopment/aws-cdk-dynamodb-seeder-examples
Example usage of aws-cdk-dynamodb-seeder
https://github.com/elegantdevelopment/aws-cdk-dynamodb-seeder-examples
aws-cdk aws-cdk-dynamodb-seeder examples
Last synced: 11 days ago
JSON representation
Example usage of aws-cdk-dynamodb-seeder
- Host: GitHub
- URL: https://github.com/elegantdevelopment/aws-cdk-dynamodb-seeder-examples
- Owner: elegantdevelopment
- License: apache-2.0
- Created: 2020-02-22T12:23:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:34:27.000Z (over 3 years ago)
- Last Synced: 2023-03-11T05:29:16.196Z (over 3 years ago)
- Topics: aws-cdk, aws-cdk-dynamodb-seeder, examples
- Language: JavaScript
- Size: 1.11 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# aws-cdk-dynamodb-seeder-examples
Example usage of [aws-cdk-dynamodb-seeder](https://github.com/elegantdevelopment/aws-cdk-dynamodb-seeder)
## Compatibility
[](https://github.com/elegantdevelopment/aws-cdk-dynamodb-seeder)
[](https://github.com/aws/aws-cdk)
## How do I use it
Install the dependencies using your favourite package manager:
```sh
yarn
```
### Deploying the stacks
This command will deploy the seeder stack (and the table stack if not already deployed):
```sh
npm run cdk -- [--profile profile] deploy seeder-stack --require-approval never
```
### Tearing down the seed
To teardown (remove) seed data from the table:
```sh
npm run cdk -- cdk [--profile profile] destroy seeder-stack --force
```