Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
update generated docs action committed Mar 27, 2024
1 parent d2efd0c commit 4148d76
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions docs/resources/team_organization_assignment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "env0_team_organization_assignment Resource - terraform-provider-env0"
subcategory: ""
description: |-
assigns an organization role to a team
---

# env0_team_organization_assignment (Resource)

assigns an organization role to a team

## Example Usage

```terraform
resource "env0_team" "team" {
name = "team"
}
resource "env0_custom_role" "custom_role" {
name = "custom-role-sample"
permissions = [
"VIEW_ORGANIZATION",
"VIEW_DASHBOARD"
]
}
resource "env0_team_organization_assignment" "assignment" {
team_id = env0_team.team.id
role_id = env0_custom_role.custom_role.id
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `role_id` (String) id of the assigned role
- `team_id` (String) id of the team

### Read-Only

- `id` (String) The ID of this resource.

0 comments on commit 4148d76

Please sign in to comment.