We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e722b7e + 46682cf commit 536e66dCopy full SHA for 536e66d
1 file changed
website/docs/r/organization_role_team.html.markdown
@@ -18,6 +18,21 @@ resource "github_organization_role_team" "example" {
18
}
19
```
20
21
+## Example Usage Security Manager Role
22
+
23
+```terraform
24
+locals {
25
+ security_manager_id = one([for x in data.github_organization_roles.all_roles.roles : x.role_id if x.name == "security_manager"])
26
+}
27
28
+data "github_organization_roles" "all_roles" {}
29
30
+resource "github_organization_role_team" "security_managers" {
31
+ role_id = local.security_manager_id
32
+ team_slug = "example-team"
33
34
+```
35
36
## Schema
37
38
### Required
0 commit comments