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 Apr 7, 2024
1 parent b604743 commit fc3f9a5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
10 changes: 8 additions & 2 deletions docs/resources/team_environment_assignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,17 @@ resource "env0_custom_role" "custom_role" {
]
}
resource "env0_team_environment_assignment" "assignment" {
resource "env0_team_environment_assignment" "custom_role_assignment" {
team_id = env0_team.team.id
environment_id = env0_environment.environment.id
role_id = env0_custom_role.custom_role.id
}
resource "env0_team_environment_assignment" "builtin_role_assignment" {
team_id = env0_team.team.id
environment_id = env0_environment.environment.id
role_id = "Viewer"
}
```

<!-- schema generated by tfplugindocs -->
Expand All @@ -51,7 +57,7 @@ resource "env0_team_environment_assignment" "assignment" {
### Required

- `environment_id` (String) id of the environment
- `role_id` (String) id of the assigned role
- `role_id` (String) id of the assigned custom role. The following built-in roles can be passed as well: `Viewer`, `Planner`, `Deployer`, `Admin`
- `team_id` (String) id of the team

### Read-Only
Expand Down
9 changes: 7 additions & 2 deletions docs/resources/team_organization_assignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,23 @@ resource "env0_custom_role" "custom_role" {
]
}
resource "env0_team_organization_assignment" "assignment" {
resource "env0_team_organization_assignment" "custom_role_assignment" {
team_id = env0_team.team.id
role_id = env0_custom_role.custom_role.id
}
resource "env0_team_organization_assignment" "builtin_role_assignment" {
team_id = env0_team.team.id
role_id = "Admin"
}
```

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

### Required

- `role_id` (String) id of the assigned role
- `role_id` (String) id of the assigned custom role. The following built-in roles can be passed as well: `User`, `Admin`
- `team_id` (String) id of the team

### Read-Only
Expand Down

0 comments on commit fc3f9a5

Please sign in to comment.