SonarCloud integrates with Hashicorp Terraform Cloud

Hello Terraform developers,

If you’re utilizing Terraform Cloud (TFC) as your CI tool for managing and overseeing the deployment of your infrastructure, you’ll be pleased to learn that Sonar has joined forces with Hashicorp to provide you with the ability to stop your pipeline whenever SonarCloud analysis returns a “Failed” Quality Gate.

This is achieved by adding a pre-plan “SonarCloud Run Task” to your TFC pipeline and it looks like this:

The related documentation is here: Setting up SonarCloud run tasks in TFC | SonarCloud Docs