From 4148d7634485f5b6deb4b0b9b01cc49ce0a7f9ce Mon Sep 17 00:00:00 2001 From: update generated docs action Date: Wed, 27 Mar 2024 13:15:29 +0000 Subject: [PATCH] Update docs --- .../resources/team_organization_assignment.md | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 docs/resources/team_organization_assignment.md diff --git a/docs/resources/team_organization_assignment.md b/docs/resources/team_organization_assignment.md new file mode 100644 index 00000000..3cc105e5 --- /dev/null +++ b/docs/resources/team_organization_assignment.md @@ -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 + +### 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.