Skip to content

Commit

Permalink
Correct usage of 'folders' for 'google_folder_organization_policy' re…
Browse files Browse the repository at this point in the history
…source. (hashicorp#963)
  • Loading branch information
ewbankkit authored and rosbo committed Jan 17, 2018
1 parent b29ae4d commit 1dc9128
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/r/google_folder_organization_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
folder = "123456789"
folder = "folders/123456789"
constraint = "compute.disableSerialPortAccess"
boolean_policy {
Expand All @@ -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" {
folder = "123456789"
folder = "folders/123456789"
constraint = "serviceuser.services"
list_policy {
Expand All @@ -49,7 +49,7 @@ Or to deny some services, use the following instead:

```hcl
resource "google_folder_organization_policy" "services_policy" {
folder = "123456789"
folder = "folders/123456789"
constraint = "serviceuser.services"
list_policy {
Expand All @@ -66,7 +66,7 @@ resource "google_folder_organization_policy" "services_policy" {

The following arguments are supported:

* `folder` - (Required) The numeric ID of the organization to set the policy for.
* `folder` - (Required) The resource name of the folder to set the policy for. Its format is folders/{folder_id}.

* `constraint` - (Required) The name of the Constraint the Policy is configuring, for example, `serviceuser.services`. Check out the [complete list of available constraints](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-constraints#available_constraints).

Expand Down

0 comments on commit 1dc9128

Please sign in to comment.