This project allows to seed a AWS dynamodb table.
npm install -g @etrivinos_epam/seed-dynamodb
seed-dynamodb AWS_PROFILE=serverless REGION=us-east-2 FILEPATH=./db/seed/stocks.json
Where:
- AWS_PROFILE. Aws profile save in ~/.aws/credentials (Use default profile if it's not provided).
- REGION. AWS Region. Default: us-east-2. (Required)
- FILEPATH. Filepath with seed JSON data. e.g. ./db/seed/stocks.json (Required)
- TABLE_NAME. Table to be seed. (Required)