Use this data source to retrieve external groups belonging to an organization.
data "github_external_groups" "example_external_groups" {}
locals {
local_groups = "${data.github_external_groups.example_external_groups}"
}
output "groups" {
value = local.local_groups
}
N/A. This resource will retrieve all the external groups belonging to an organization.
external_groups
- an array of external groups belonging to the organization. Each group consists of the fields documented below.group_id
- the ID of the group.group_name
- the name of the group.updated_at
- the date the group was last updated.