google_folder_organization_policy examples need folder, not org_id. (#869)

This commit is contained in:
Stefan Schmidt 2017-12-15 19:05:22 +01:00 committed by Vincent Roseberry
parent 450a2c9b74
commit dc5075b6ae

View File

@ -19,7 +19,7 @@ To set policy with a [boolean constraint](https://cloud.google.com/resource-mana
```hcl
resource "google_folder_organization_policy" "serial_port_policy" {
org_id = "123456789"
folder = "123456789"
constraint = "compute.disableSerialPortAccess"
boolean_policy {
@ -33,7 +33,7 @@ To set a policy with a [list contraint](https://cloud.google.com/resource-manage
```hcl
resource "google_folder_organization_policy" "services_policy" {
org_id = "123456789"
folder = "123456789"
constraint = "serviceuser.services"
list_policy {
@ -49,7 +49,7 @@ Or to deny some services, use the following instead:
```hcl
resource "google_folder_organization_policy" "services_policy" {
org_id = "123456789"
folder = "123456789"
constraint = "serviceuser.services"
list_policy {
@ -103,4 +103,4 @@ exported:
* `etag` - (Computed) The etag of the organization policy. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other.
* `update_time` - (Computed) The timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds, representing when the variable was last updated. Example: "2016-10-09T12:33:37.578138407Z".
* `update_time` - (Computed) The timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds, representing when the variable was last updated. Example: "2016-10-09T12:33:37.578138407Z".