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

Serverless with more infrastructure code and less application code

With the growing Serverless workloads, managing and maintaining them is best recommended with Infrastructure as Code (IaC). While this holds the complete infrastructure and its configurations, we could have events from one service destined to another via configuration. When building these configurations, we could also reduce the application code making it more maintainable and scalable.In this session, Jones walked us through a fully end-to-end solution built with Amazon EventBridge and AWS Step Functions with SDK integrations which have helped him to improvise the application with just IaC and very minimal application code.

Watch recording
Watch recording
Improving Networking in LocalStack

Connecting your applications to LocalStack has not always been easy. In this video, Simon from the LocalStack team discusses how we streamlined the LocalStack networking experience. We discussed the challenges of connecting your applications to LocalStack and how we're simplifying the LocalStack networking experience.Simon also discussed about configurations required for more complex networking setups, and some common networking scenarios, with example configuration for achieving connectivity.Read our blog to learn more: https://blog.localstack.cloud/2024-03-04-making-connecting-to-localstack-easier/

Watch recording
Watch recording
5 takeaways for Running and Troubleshooting Serverless Applications Locally

Check out the recording of the hands-on webinar featuring Yan Cui, AWS Serverless Hero, and Waldemar Hummer, CTO of LocalStack, to learn practical use cases around monitoring serverless applications for local dev&test loops. Learn the best practices for debugging serverless applications using various AWS services to support your serverless workflows while troubleshooting errors and performance issues.In this video, you will learn about:- Building and Deploying Serverless apps locally- Common patterns and workflows for testing Serverless apps- Troubleshoot errors and performance issues in dev&test loops- Implementing observability with distributed tracing with Lumigo- Local Serverless Development with LocalStack

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