Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/poad/csv2dynamodb
Imports CSV to AWS DynamoDB cli tool.
https://github.com/poad/csv2dynamodb
aws cli csv csv-import dynamodb rust
Last synced: about 2 months ago
JSON representation
Imports CSV to AWS DynamoDB cli tool.
- Host: GitHub
- URL: https://github.com/poad/csv2dynamodb
- Owner: poad
- License: mit
- Created: 2021-10-31T05:00:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T23:25:47.000Z (9 months ago)
- Last Synced: 2024-04-13T08:46:07.659Z (9 months ago)
- Topics: aws, cli, csv, csv-import, dynamodb, rust
- Language: Rust
- Homepage:
- Size: 102 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# csv2dynamodb
[![Rust](https://github.com/poad/csv2dynamodb/actions/workflows/build.yml/badge.svg)](https://github.com/poad/csv2dynamodb/actions/workflows/build.yml)
import csv to AWS DynamoDB.
## usage
```sh
csv2dynamodb --file-path --table
``````sh
--file-path value file to import e.g ./tablename.csv (required)
--table value target dynamo db tabe name (required)
```### example
```sh
csv2dynamodb --file-path ./test_data.csv --table sample-table
```## How to specify data types in DynamoDB
It is specified in the CSV header by writing (). e.g. price(N)
If not specified, it will be imported as S (string).```csv
name(S),price(N),visible(BOOL)
"abc",100,true
```## License
[The MIT License](LICENSE)