localstack-samples · GitHub

A sample product API built with API Gateway, Lambda (Java), and DynamoDB, designed for collaborative debugging workflows using LocalStack Cloud Pods. Follow the end-to-end walkthrough for this project: https://docs.localstack.cloud/aws/tutorials/cloud-pods-collaborative-debugging/

cloud-pod-collab

Prerequisites

export LOCALSTACK_AUTH_TOKEN=<your-auth-token>

Sample Variants

Quick Start

  1. Start LocalStack:
docker compose up -d
  1. Build Lambda artifacts:
cd lambda-functions
mvn clean package
  1. Deploy infrastructure:
cd terraform
./run-tflocal.sh
  1. Invoke the API:
./invoke.sh

For OpenTofu, set TF_CMD=tofu and run tflocal in opentofu/ (see opentofu/instructions.md).

License

Licensed under Apache License 2.0. See LICENSE.

Read the original on github.com ↗