Integrating the Infracost run task during the Terraform Cloud run
In the previous recipe, we learned how to estimate cost infrastructure using the integrated cost estimation feature in Terraform Cloud.
In this recipe, we will learn how to execute a run task during the run pipeline and we will use the Infracost run task as an example.
Terraform Cloud run tasks are third-party tools and services that allow you to perform some custom operations during the Terraform workflow. To get the list of all run tasks already integrated into the Terraform Cloud registry, look here: https://registry.terraform.io/browse/run-tasks?product_intent=terraform.
In this book, I will not detail everything regarding the addition and configuration of all run task integrations. For more details, refer to the documentation here: https://developer.hashicorp.com/terraform/cloud-docs/workspaces/settings/run-tasks. In this recipe, we will learn about the usage of the Infracost run task.