Skip to content

Commit

Permalink
Add inherited_cluster_roles to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
danquack authored Apr 26, 2024
1 parent c0f5eca commit 39e232e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/resources/global_role.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ Provides a Rancher v2 Global Role resource. This can be used to create Global Ro
```hcl
# Create a new rancher2 Global Role
resource "rancher2_global_role" "foo" {
name = "foo"
new_user_default = true
description = "Terraform global role acceptance test"
name = "foo"
new_user_default = true
description = "Terraform global role acceptance test"
inherited_cluster_roles = ["projects-view"]
rules {
api_groups = ["*"]
Expand All @@ -33,6 +34,7 @@ The following arguments are supported:
* `rules` - (Optional/Computed) Global role policy rules (list)
* `annotations` - (Optional/Computed) Annotations for global role object (map)
* `labels` - (Optional/Computed) Labels for global role object (map)
* `inherited_cluster_roles` - (Optional) Names of role templates whose permissions are granted by this global role in every cluster besides the local cluster (list)

## Attributes Reference

Expand Down

0 comments on commit 39e232e

Please sign in to comment.