File tree Expand file tree Collapse file tree 3 files changed +370
-462
lines changed
Expand file tree Collapse file tree 3 files changed +370
-462
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ terraform {
55 required_providers {
66 github = {
77 source = " integrations/github"
8- version = " 6.3.1 "
8+ version = " 6.9.0 "
99 }
1010 }
1111}
Original file line number Diff line number Diff line change @@ -23,11 +23,15 @@ resource "github_membership" "this" {
2323}
2424
2525# Github Organization Security Manager Resource
26- # https://registry.terraform.io/providers/integrations/github/latest/docs/resources/organization_security_manager
26+ # https://registry.terraform.io/providers/integrations/github/latest/docs/resources/organization_role_team
2727
28- resource "github_organization_security_manager" "this" {
28+ resource "github_organization_role_team" "admins_security_manager" {
29+ # Can be confirmed by inspecting the input for the Security Manager role at:
30+ # https://github.com/organizations/django-commons/settings/org_role_assignments/new
31+ role_id = 138
2932 team_slug = github_team. org_teams [" Admins" ]. slug
3033}
34+
3135# Create the organization teams for Django Commons.
3236resource "github_team" "org_teams" {
3337 for_each = var. organization_teams
You can’t perform that action at this time.
0 commit comments