Skip to content

goccha/dynamodb-verse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dynamodb-verse

dynamodb-migrate

Use cloudformation file to create tables in dynamodb.

Installation

go install github.com/goccha/dynamodb-verse/cmd/dynamodb-migrate@latest

migration

dynamodb-migrate --path=configs/dynamodb

parameters

key default description example
local true Set "http://localhost:8000" if endpoint is empty false
region ap-northeast-1 aws region ap-northeast-1
endpoint dynamodb endpoint http://localhost:8000
profile aws profile name default
path configs/dynamodb config directory path deployments/resources
debug aws sdk debug log true
version show version
h help message

environment values

Arguments take precedence over environment variables.

key default description
AWS_DEBUG_LOG false aws sdk debug log
AWS_REGION aws region
AWS_PROFILE aws profile name
AWS_DYNAMODB_ENDPOINT dynamodb endpoint
DYNAMODB_CONFIG_PATH config directory path