/localstack-examples

localstack / terraform / python example walk through

Local Stack Examples

Credentials

Need to add contents of "credentials" file to your .aws/credentials file. In your profile folder. So for windows /users/<your login>/.aws/credentials

Dependencies

Need to have docker, python and terraform installed

Initialization

In a terminal or powershell from this project folder run:

docker-compose up

Examples

Step 1 - Hello World

Terraform
Python
Lambda
git checkout ex1-lambda-hello

Step 2 - S3

Terraform
Python
Lambda
S3
git checkout ex2-lambda-s3

Step 3 - DyanamoDB

Terraform
Python
Lambda
DynamoDB
git checkout ex3-lambda-dynamo

Step 4 - HTTP Gateway

Terraform
Python
Lambda
DynamoDB
HTTP Gateway
git checkout ex4-http-gateway

Step 5 - CRUD Operations

Terraform
Python
Lambda
DynamoDB
HTTP Gateway
git checkout ex4-http-gateway