From 78db4bfcaa4f5bb51fe36726fd952c1ac7c1e5ae Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Fri, 15 Dec 2017 19:06:08 +0100 Subject: [PATCH] Use the correct resource type in the google_organization_policy examples. (#868) --- website/docs/r/google_organization_policy.html.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/docs/r/google_organization_policy.html.markdown b/website/docs/r/google_organization_policy.html.markdown index 51717387..15344d2b 100644 --- a/website/docs/r/google_organization_policy.html.markdown +++ b/website/docs/r/google_organization_policy.html.markdown @@ -18,7 +18,7 @@ documentation](https://cloud.google.com/resource-manager/docs/organization-polic To set policy with a [boolean constraint](https://cloud.google.com/resource-manager/docs/organization-policy/quickstart-boolean-constraints): ```hcl -resource "google_folder_organization_policy" "serial_port_policy" { +resource "google_organization_policy" "serial_port_policy" { org_id = "123456789" constraint = "compute.disableSerialPortAccess" @@ -32,7 +32,7 @@ resource "google_folder_organization_policy" "serial_port_policy" { To set a policy with a [list contraint](https://cloud.google.com/resource-manager/docs/organization-policy/quickstart-list-constraints): ```hcl -resource "google_folder_organization_policy" "services_policy" { +resource "google_organization_policy" "services_policy" { org_id = "123456789" constraint = "serviceuser.services" @@ -48,7 +48,7 @@ resource "google_folder_organization_policy" "services_policy" { Or to deny some services, use the following instead: ```hcl -resource "google_folder_organization_policy" "services_policy" { +resource "google_organization_policy" "services_policy" { org_id = "123456789" constraint = "serviceuser.services" @@ -110,4 +110,4 @@ exported: Organization Policies can be imported using the `org_id` and the `contraint`, e.g. ``` -$ terraform import google_folder_organization_policy.services_policy 123456789:constraints/serviceuser.services \ No newline at end of file +$ terraform import google_organization_policy.services_policy 123456789:constraints/serviceuser.services