You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/r/emu_group_mapping.html.markdown
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ description: |-
7
7
8
8
# github_emu_group_mapping
9
9
10
-
This resource manages mappings between external groups for enterprise managed users and GitHub teams. It wraps the API detailed [here](https://docs.github.com/en/rest/reference/teams#external-groups). Note that this is a distinct resource from `github_team_sync_group_mapping`. `github_emu_group_mapping` is special to the Enterprise Managed User (EMU) external group feature, whereas `github_team_sync_group_mapping` is specific to Identity Provider Groups.
10
+
This resource manages mappings between external groups for enterprise managed users and GitHub teams. It wraps the [Teams#ExternalGroups API](https://docs.github.com/en/rest/reference/teams#external-groups). Note that this is a distinct resource from `github_team_sync_group_mapping`. `github_emu_group_mapping` is special to the Enterprise Managed User (EMU) external group feature, whereas `github_team_sync_group_mapping` is specific to Identity Provider Groups.
team_slug = "emu-test-team" # The GitHub team name to modify
17
17
group_id = 28836 # The group ID of the external group to link
18
18
}
19
-
20
-
# Note that here GITHUB_OWNER and GITHUB_TOKEN have been set in the environment.
21
19
```
22
20
23
21
## Argument Reference
24
22
25
23
The following arguments are supported:
24
+
26
25
*`team_slug` - (Required) Slug of the GitHub team
27
26
*`group_id` - (Required) Integer corresponding to the external group ID to be linked
28
27
29
28
## Import
30
29
31
-
GitHub EMU External Group Mappings can be imported using the external `group_id`, e.g.
30
+
GitHub EMU External Group Mappings can be imported using the external `group_id`, when it maps to a single team, or the `group_id` and `team_slug` separated by a colon, when it maps to multiple teams, e.g.
0 commit comments