Terraform 1.6 introduced native Terraform tests, but running them against real cloud resources leads to long deployment times and unnecessary costs. With LocalStack's Terraform integration (tflocal), you can validate configurations locally while closely emulating real cloud behaviour. By combining Terraform tests with LocalStack, developers can run integration tests in CI/CD environments, test event-driven serverless workflows, and establish a rapid feedback loop for cloud development. In this presentation, Harsh Mishra provides a hands-on demo of Terraform testing with LocalStack, exploring how to configure tests, validate infrastructure locally, and reduce costs and complexity while improving confidence in deployments.

LocalStack is a cloud service emulator designed for local development and testing of cloud applications. With LocalStack, you can test AWS CloudWatch metric alarms, to get notified on infrastructure failures — all on your local machine! In this video, you will learn how you can use a CloudWatch metric alarm to get notified automatically when your Lambda function invocations fail. You will also set up an email notification using the Simple Email Service (SES) and our Mailhog extension.

Testing in the cloud = slow builds, fragile staging, surprise bills. Let’s talk about how developers are flipping the script and using local cloud environments to test smarter, faster, and cheaper without breaking production. Bonus: You’ll learn how LocalStack lets you simulate AWS on your machine. Game changer.

Why wait for the cloud to test your app? In this episode, we’ll write and run an integration test to validate our LocalStack app. You’ll learn how to upload a file, trigger the Lambda-SQS-DynamoDB flow, and assert the results all locally.