Skip to content

About

Next iteration of localstack-pro-samples with IaC deployments and tested by LocalStack

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

50 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LocalStack AWS Samples

A collection of AWS sample applications that can be deployed and tested with LocalStack.

Each sample includes up to four Infrastructure-as-Code deployment methods:

  • Scripts — AWS CLI shell scripts
  • Terraform — HashiCorp Terraform configurations
  • CloudFormation — AWS CloudFormation templates
  • CDK — AWS Cloud Development Kit apps

Samples

Sample Language Scripts Terraform CloudFormation CDK
apigw-custom-domain python ✓ ✓ ✓ ✓
apigw-websockets javascript ✓ ✓ ✓ ✓
appsync-graphql-api python ✓ ✓ ✓ ✓
athena-s3-queries python ✓ ✓ ✓ ✓
cdk-for-terraform —
cdk-resources javascript
chalice-rest-api python ✓ ✓ ✓ ✓
cloudwatch-metrics-aws python ✓ ✓ ✓ ✓
codecommit-git-repo python ✓ ✓
cognito-jwt python ✓ ✓ ✓ ✓
ec2-docker-instances python ✓ ✓ ✓ ✓
ecs-ecr-app python ✓ ✓ ✓ ✓
elb-load-balancing javascript ✓ ✓ ✓ ✓
emr-serverless-python-dependencies python
emr-serverless-spark java ✓ ✓ ✓ ✓
glacier-s3-select python ✓ ✓ ✓ ✓
glue-etl-jobs python ✓ ✓ ✓ ✓
glue-msk-schema-registry python ✓ ✓ ✓ ✓
glue-redshift-crawler python ✓ ✓ ✓ ✓
iam-policy-enforcement python ✓ ✓ ✓ ✓
iot-basics python ✓ ✓ ✓ ✓
lambda-cloudfront python ✓ ✓ ✓ ✓
lambda-container-image python ✓ ✓ ✓ ✓
lambda-debugging-sam-java —
lambda-debugging-sam-javascript —
lambda-debugging-sam-python python
lambda-debugging-sam-typescript —
lambda-event-filtering javascript, python ✓ ✓ ✓ ✓
lambda-function-urls javascript, python ✓ ✓ ✓ ✓
lambda-layers javascript ✓ ✓ ✓ ✓
lambda-php-bref-cdk-app javascript
lambda-s3-http python ✓ ✓ ✓ ✓
lambda-xray python ✓ ✓ ✓ ✓
mq-broker python ✓ ✓ ✓ ✓
multi-account-multi-region-s3-access —
neptune-graph-db python ✓ ✓ ✓ ✓
rds-db-queries python ✓ ✓ ✓ ✓
rds-failover-test python ✓ ✓ ✓ ✓
reproducible-ml python ✓ ✓ ✓ ✓
route53-dns-failover python ✓ ✓ ✓ ✓
sagemaker-inference python ✓ ✓ ✓ ✓
stepfunctions-lambda python ✓ ✓ ✓ ✓
terraform-resources —
testcontainers-java-sample —
transfer-ftp-s3 python ✓ ✓ ✓ ✓
web-app-dynamodb python ✓ ✓ ✓ ✓
web-app-rds python ✓ ✓ ✓ ✓

Quick Start

# Set AWS credentials for LocalStack
export AWS_ACCESS_KEY_ID=test
export AWS_SECRET_ACCESS_KEY=test
export AWS_DEFAULT_REGION=us-east-1

# Deploy a sample
bash lambda-function-urls/python/scripts/deploy.sh

# Teardown
bash lambda-function-urls/python/scripts/teardown.sh

Prerequisites

  • Docker
  • LocalStack (running on localhost.localstack.cloud:4566)
  • AWS CLI
  • Terraform (for Terraform deployments)
  • AWS CDK + Node.js (for CDK deployments)

About

Next iteration of localstack-pro-samples with IaC deployments and tested by LocalStack

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages