github_team

Provides a GitHub team resource.

This resource allows you to add/remove teams from your organization. When applied, a new team will be created. When destroyed, that team will be removed.

Example Usage

# Add a team to the organization
resource "github_team" "some_team" {
  name        = "some-team"
  description = "Some cool team"
  privacy     = "closed"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

GitHub Teams can be imported using the GitHub team ID or name e.g.

$ terraform import github_team.core 1234567
$ terraform import github_team.core Administrators