terraform-google-modules/org-policy

Manages Google Cloud organization policies.

Terraform module
Google Cloud
available
Placeholder. This template is not in the library yet. Deploy opens the platform so you can start from your own repository; tell us there if you want this one.
Downloads
5.8M
Version
7.4.0
Published
2026-08-07
License
Apache-2.0
Maintainer
terraform-google-modules
Verified

About

Manages Google Cloud organization policies.

Maintained by terraform-google-modules (verified publisher) on the Terraform Registry. Latest version 7.4.0, 5.8M downloads. Requires providers: google >= 3.53, < 8; null >= 2.1.

Deploy creates a StackGuardian workflow from the module's GitHub repository, pinned to this version. You set the inputs, see the plan, then approve the apply.

Use cases

  • Least-privilege roles created from a reviewed template, not copied by hand.
  • Workload identity for pods, functions and CI without long-lived keys.
  • Access changes that leave an audit trail.

Inputs

Required inputs:

  • constraint — string
  • policy_for — string

13 inputs in total. The full list, with defaults and descriptions, is on the registry page.

What it creates

  • google_organization_policy × 5
  • google_folder_organization_policy × 7
  • google_project_organization_policy × 7
  • null_resource

How it runs on StackGuardian

Terraform workflow from the module's GitHub repository: plan, policy check, approval, then apply.

Plan
Policy check
Approval
Apply

Approvals happen in StackGuardian. An agent can never approve its own run. Every run keeps its plan, policy results and approver in the audit log.

Pick a template. Deploy it with guardrails.