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 Nov 30, 2022
1 parent 631df81 commit 9f2f9f2
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion docs/resources/user_organization_assignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,25 @@ description: |-

note: if removed the user role will be reset to 'Organization User'


## Example Usage

```terraform
data "env0_user" "user_example" {
email = "[email protected]"
}
resource "env0_custom_role" "custom_role" {
name = "custom-role"
permissions = [
"EDIT_PROJECT_SETTINGS"
]
}
resource "env0_user_organization_assignment" "user_org" {
user_id = data.env0_user.user_example.id
custom_role_id = env0_custom_role.custom_role.id
}
```

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

0 comments on commit 9f2f9f2

Please sign in to comment.