modulepackage
0.1.3
Repository: https://github.com/d-tsuji/dynamodbtruncator.git
Documentation: pkg.go.dev
# README
dynamodbtruncator (Truncate table for DynamoDB)
dynamodbtruncator
truncate tables for DynamoDB.
Usage
$ dynamodbtruncator [options]
Options
--profile string
The name of the profile from which the session can be obtained (default `default`)
--table string
Trucated tables. Multiple tables can be specified separated by commas.
e.g. table or table1,table2,table3
Example
$ dynamodbtruncator --table hoge-table --profile my-profile
Installation
- From source code
# go get
$ go get github.com/d-tsuji/dynamodbtruncator/cmd/dynamodbtruncator
- From binary
# binary
$ curl -sfL https://raw.githubusercontent.com/d-tsuji/dynamodbtruncator/master/install.sh | sudo sh -s -- -b /usr/local/bin
# Functions
New generates the DB from the AWS configuration.
# Constants
Version is the version to be displayed in the command line help message.
# Type aliases
Tables handles multiple tables.