op
Organization Policy Service
ManagementGCP
General
General information about the service.
Description
Organization Policy Service gives centralized control over your organization's cloud resources. Define policies that restrict resource configurations across the entire organization hierarchy.
Service ID
orgpolicy.googleapis.comResource Pattern
organizations/{org}/policies/{policy}References
Chat
Powered by AITalk to this service to learn more about it.
Suggested questions:
Naming
The conventions, rules, and restrictions for naming this service.
Naming Convention
op-{workload}-{env}Length
4-63
Valid Characters
Lowercase letters, numbers, hyphens
Scope
organization
Code
Deploy your infrastructure as code using your preferred tooling.
Official Documentation
terraform
1resource "google_org_policy_policy" "main" {2 name = "organizations/${var.org_id}/policies/compute.disableSerialPortAccess"3 parent = "organizations/${var.org_id}"4 spec {5 rules {6 enforce = "TRUE"7 }8 }9}
Utilities
Utilities to support app deployment or configuration.