Simulate Terraform Changes and Their Impact in Terraform Cloud With Lightlytics Run Tasks Integration

October 25, 2021
min. read
Amit Hacohen
Related Resource(s)
No items found.


The new HashiCorp Terraform Cloud run tasks feature was announced earlier this year and is now available for integration with Lightlytics continuous simulation platform. It was very exciting for us when the team at HashicCorp approached us to partner with them on this, as our customers frequently asked us if we support a native integration with Terraform Cloud. Now we can answer them: Yes!

The run tasks feature enables your organization to integrate third-party tools within a Terraform run, specifically between the plan and apply stages of the Terraform Cloud workflow. A run task works by sending run-related information to Lightlytics. Lightlytics then uses a real-time representation of your cloud environment and will simulate proposed changes as if your Terraform code was already deployed.

With this new integration, on each workflow run you will be able to understand how your Terraform code is going to impact the destined environment before applying the code and it will reduce the chance for mistakes and misconfigurations from hitting your production environment.

A good example is a change to security group rules or an IAM policy statement which is attached to a role that is assumed by multiple resources. A mistake in this code can cause dependent resources to lose reachability or gain unintendedly access. Using Lightlytics simulation will enable you to immediately understand if the proposed change is going to achieve the original requirement and also make sure that misconfigurations will not be applied to a live environment.

All you need to start simulating Terraform changes directly from Terraform Cloud is Lightlytics integrated into your Terraform Cloud workflow with the run tasks feature. If you haven’t created your Lightlytics environment yet click here to sign up.

The Terraform Cloud run tasks feature has been turned on for all existing HashiCorp Terraform Cloud Business tier customers. If you are interested in the run tasks feature and are not yet a Business tier customer of Terraform Cloud, make sure to sign up here for access.

Read the GigaOM CXO Decision Brief:
Cloud Change Intelligence
What's new

What's new