Testing Terraform AWS Modules in Harness CI with LocalStack

LocalStack enables organizations to automate their application testing and integration process through DevOps practices, such as continuous integration (CI). LocalStack allows organizations to move away from complicated AWS testing and staging environments by enabling a key component of testing and delivering cloud-native applications.To further automate the process, we use Infrastructure-as-Code (IaC) frameworks like Terraform that allow you to create your resources declaratively and apply those resources. Testing your Terraform modules against the real AWS cloud can be time-consuming and costly and can make you run into the risk of dangling resources after an unsuccessful CI run. Using LocalStack to emulate a mock ephemeral AWS infrastructure on CI pipelines allows you to work on the same functionality the real AWS cloud provides while cutting down testing costs and deployment times.In this session, Jim Sheldon, Senior Developer Advocate at Harness, will demonstrate how to use LocalStack to test Terraform modules on Harness CI. Harness CI allows you to create software pipelines that will enable you to check out your code, build the software, run your tests, and validate every code change. We wind up the session with updates about the all-new LocalStack release!

Related Talks

Develop and test your AI-powered cloud apps locally with LocalStack

Running AI/ML workloads in the cloud can be expensive, opaque, and difficult to iterate on. LocalStack changes this by enabling engineers to develop and test AI-powered cloud applications entirely locally, emulating services like SageMaker, Bedrock, Redshift, and Snowflake.In this presentation, Waldemar Hummer, CTO of LocalStack, demonstrates how to prototype and validate AI & ML data pipelines safely and cost-effectively using LocalStack’s cloud emulators. You’ll see how to emulate complex AI workflows, test integrations, and use “vibe coding” techniques confidently in a fully sandboxed local environment.

Watch recording
Watch recording
Run Your First AWS App Locally with LocalStack

Get started with LocalStack in minutes! In this episode, we’ll clone a ready-to-go AWS sample app, spin up LocalStack, and run everything locally without a cloud account. By the end, you’ll have a fully functional event-driven app running on your machine.📖 Want more?Check out the companion blog post for a deeper breakdown of the architecture, project structure, and all the commands you’ll need to run it yourself.🔗 https://blog.localstack.cloud/why-i-run-my-serverless-apps-locally/

Watch recording
Watch recording
From Local to Production: The CI/CD Flow That Doesn’t Suck

This is where it all comes together.CI/CD lets dev teams ship code automatically — but only if your pipeline is built to handle the cloud.In this episode, I show you how local testing + automated deployment = cloud apps that ship faster, safer, and smarter.Stick around to the end, this is the final episode of WTH is the Cloud?!

Watch recording
Watch recording

Launch yourself in the world of local cloud development

Try for free
Try for free
Talk to Sales
Talk to Sales