The goal of this project is to provide some Terraform examples provisioning resources in a AWS Localstack infrastructure, a nice alternative for local integration tests and validations.
- Localstack version 0.12.19.2
- AWS Cli 2.0.56
- Terraform v1.0.9
- AWS cli list s3 buckets on Localstack
aws --endpoint-url=http://localhost:4566 s3 ls
- Cloudwatch follow logs
aws --endpoint-url=http://localhost:4586 logs tail /aws/lambda/lambda_name --follow
- Invoke Lambda Function
aws --endpoint-url=http://localhost:4566 lambda invoke --function-name lambda_name out.log
The application 1 is composed of a simple lambda microservice