Google Cloud Policy Controller vs Google Cloud Terraform Policy Validation
Google Cloud Policy Controller
docs.cloud.google.comGoogle Cloud Terraform Policy Validation
docs.cloud.google.comSide by side
| Figure | Google Cloud Policy Controller | Google Cloud Terraform Policy Validation |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| Plans published | 0 | 1 |
| Spec score · Infrastructure Policy as Code Tools | 5.6 (#25) | 8.5 (#6) |
Plans
Google Cloud Terraform Policy Validation
- gcloud beta terraform vetFree
In their own words
Google Cloud Policy Controller
Google Cloud Policy Controller has no write-up on Specifiction yet; its figures are above.
Google Cloud Terraform Policy Validation
Google Cloud Terraform Policy Validation checks Terraform plans against organizational security and governance constraints before infrastructure changes are applied. The `gcloud beta terraform vet` command evaluates Terraform plan JSON, retrieving project data through Google Cloud APIs. It can flag violations, issue warnings, or halt a deployment before production; it returns exit code 0 when no violations are found and 2 when they are. Platform teams can place validation between plan and apply in CI/CD workflows using Cloud Build, Jenkins, or GitHub Actions. The command accepts Terraform 0.12 or later plan JSON and requires a policy library and the Google Cloud CLI `terraform-tools` component. Policies can cover supported resources from Terraform's google and google-beta providers, and constraints can be reused with other tools that support the framework. The command is free and client-side. The feature is in Preview under Pre-GA terms, where support may be limited. Security Command Center IaC validation has separate requirements: Premium or Enterprise activation at the organization level and a specified role. That workflow also requires Terraform Google provider version 5.5 or later.