Skip to content

Commit

Permalink
Add warnings to legacy Org Policy resources (GoogleCloudPlatform#5222)
Browse files Browse the repository at this point in the history
* allow disabling service accounts

Co-authored-by: upodroid <[email protected]>

* fix typos

* revert warning change

* add orgpolicy warnings

Co-authored-by: upodroid <[email protected]>
  • Loading branch information
upodroid authored and khajduczenia committed Oct 12, 2021
1 parent 5ee58fd commit 4110e2a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,15 @@ description: |-

# google\_folder\_organization\_policy

Allows management of Organization policies for a Google Folder. For more information see
[the official documentation](https://cloud.google.com/resource-manager/docs/organization-policy/overview) and
[API](https://cloud.google.com/resource-manager/reference/rest/v1/folders/setOrgPolicy).
Allows management of Organization Policies for a Google Cloud Folder.

~> **Warning:** This resource has been superseded by `google_org_policy_policy`. `google_org_policy_policy` uses Organization Policy API V2 instead of Cloud Resource Manager API V1 and it supports additional features such as tags and conditions.

To get more information about Organization Policies, see:

* [API documentation](https://cloud.google.com/resource-manager/reference/rest/v1/folders/setOrgPolicy)
* How-to Guides
* [Introduction to the Organization Policy Service](https://cloud.google.com/resource-manager/docs/organization-policy/overview)

## Example Usage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@ description: |-

# google\_organization\_policy

Allows management of Organization policies for a Google Organization. For more information see
[the official
documentation](https://cloud.google.com/resource-manager/docs/organization-policy/overview) and
[API](https://cloud.google.com/resource-manager/reference/rest/v1/organizations/setOrgPolicy).
Allows management of Organization Policies for a Google Cloud Organization.

~> **Warning:** This resource has been superseded by `google_org_policy_policy`. `google_org_policy_policy` uses Organization Policy API V2 instead of Cloud Resource Manager API V1 and it supports additional features such as tags and conditions.

To get more information about Organization Policies, see:

* [API documentation](https://cloud.google.com/resource-manager/reference/rest/v1/organizations/setOrgPolicy)
* How-to Guides
* [Introduction to the Organization Policy Service](https://cloud.google.com/resource-manager/docs/organization-policy/overview)

## Example Usage

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@ description: |-

# google\_project\_organization\_policy

Allows management of Organization policies for a Google Project. For more information see
[the official
documentation](https://cloud.google.com/resource-manager/docs/organization-policy/overview) and
[API](https://cloud.google.com/resource-manager/reference/rest/v1/projects/setOrgPolicy).
Allows management of Organization Policies for a Google Cloud Project.

~> **Warning:** This resource has been superseded by `google_org_policy_policy`. `google_org_policy_policy` uses Organization Policy API V2 instead of Cloud Resource Manager API V1 and it supports additional features such as tags and conditions.

To get more information about Organization Policies, see:

* [API documentation](https://cloud.google.com/resource-manager/reference/rest/v1/projects/setOrgPolicy)
* How-to Guides
* [Introduction to the Organization Policy Service](https://cloud.google.com/resource-manager/docs/organization-policy/overview)

## Example Usage

Expand Down

0 comments on commit 4110e2a

Please sign in to comment.