An example setup to make a local instance of dynamodb for development.
- Install Terraform
- Clone the repo
git clone https://github.com/bewestphal/terraform-dynamodb-local
- Navigate to example
cd terraform-local-dynamodb
- Initialize Terraform
terraform init
- [Optional] Configure the
locals.container_name
orlocals.dynamo_port
insidemain.tf
if desired
(Default Port is7090
) - Configure the desired tables following the terraform dynamo format
Note: Tables can also be configured in the admin panel - Start the container
terraform apply
The dynamo-local-admin
Docker image also contains an admin
panel at the configured port
(Default: http://localhost:7090/)