vault_github_team

Manages policy mappings for Github Teams authenticated via Github. See the Vault documentation for more information.

Example Usage

resource "vault_github_auth_backend" "example" {
  organization = "myorg"
}

resource "vault_github_team" "tf_devs" {
  backend  = vault_github_auth_backend.example.id
  team     = "terraform-developers"
  policies = ["developer", "read-only"]
}

Argument Reference

The following arguments are supported:

Attributes Reference

No additional attributes are exported by this resource.

Import

Github team mappings can be imported using the path, e.g.

$ terraform import vault_github_team.tf_devs auth/github/map/teams/terraform-developers