terraform-provider-gitea/docs/resources/team.md
Tobias Trabelsi 6e63797167
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
#3 added team resource and fixed crash in public key state persisting
2022-06-25 23:36:24 +02:00

1.4 KiB

page_title subcategory description
gitea_team Resource - terraform-provider-gitea gitea_team manages Team that are part of an organisation.

gitea_team (Resource)

gitea_team manages Team that are part of an organisation.

Example Usage

resource "gitea_org" "test_org" {
  name = "test-org"
}

resource "gitea_team" "test_team" {
  name = "Devs"
  organisation = gitea_org.test_org.name
  description = "Devs of Test Org"
  permission = "write"
}

Schema

Required

  • name (String) Name of the Team
  • organisation (String) The organisation which this Team is part of.

Optional

  • can_create_repos (Boolean) Flag if the Teams members should be able to create Rpositories in the Organisation
  • description (String) Description of the Team
  • include_all_repositories (Boolean) Flag if the Teams members should have access to all Repositories in the Organisation
  • permission (String) Permissions associated with this Team Can be none, read, write, admin or owner
  • units (String) List of types of Repositories that should be allowed to be created from Team members. Can be repo.code, repo.issues, repo.ext_issues, repo.wiki, repo.pulls, repo.releases, repo.projects and/or repo.ext_wiki

Read-Only

  • id (String) The ID of this resource.