-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
update generated docs action
committed
Jul 5, 2023
1 parent
573d5cc
commit bc0e9fe
Showing
1 changed file
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "env0_team_environment_assignment Resource - terraform-provider-env0" | ||
subcategory: "" | ||
description: |- | ||
--- | ||
|
||
# env0_team_environment_assignment (Resource) | ||
|
||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "env0_template" "template" { | ||
name = "Template Name" | ||
} | ||
data "env0_project" "project" { | ||
name = "Default Organization Project" | ||
} | ||
resource "env0_environment" "environment" { | ||
name = "environment" | ||
project_id = data.env0_project.project.id | ||
template_id = data.env0_template.template.id | ||
} | ||
resource "env0_team" "team" { | ||
name = "team" | ||
} | ||
resource "env0_custom_role" "custom_role" { | ||
name = "custom-role-sample" | ||
permissions = [ | ||
"VIEW_ENVIRONMENT" | ||
] | ||
} | ||
resource "env0_team_environment_assignment" "assignment" { | ||
team_id = env0_team.team.id | ||
environment_id = env0_environment.environment.id | ||
role_id = env0_custom_role.custom_role.id | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `environment_id` (String) id of the environment | ||
- `role_id` (String) id of the assigned role | ||
- `team_id` (String) id of the team | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
|