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
{{ message }}
Repository navigation
Add support for creating teams with explicit maintainers #3135
Add deterministic support for create_with_maintainers = [] to github_team so teams can be created and managed by non-privileged users.
The create_default_maintainer deprecation breaks creation of teams when Terraform is run by a non-privileged user. When running terraform with maintainer_username user, a regular user with a PAT with the required permissions (non org-admin). The following will fail:
github_team.test: Creating...
github_team.test: Creation complete after 3s [id=15957916]
github_team_members.test: Creating...
╷
│ Error: PUT https://api.github.com/organizations/17620943/team/15957916/memberships/trecnoc-terraform: 403 You must be an organization owner or team maintainer to add a team membership. []
│
│ with github_team_members.test,
│ on main.tf line 359, in resource "github_team_members""test":
│ 359: resource "github_team_members""test" {
│
╵
Reacted by Matt M., Mert Acar, Tom Lingham, Max Bußmann, Mostafa Zare, Yannick Röder and Joséphine Wolf Oberholtzer
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀
changed the title [-]`create_default_maintainer` deprecation breaks creation of teams when terraform is run by a non-privileged user[/-][+]Add support for creating teams with explicit maintainers[/+]on Jan 27, 2026
Activity
github-actions commentedon Jan 27, 2026
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with
Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀[-]`create_default_maintainer` deprecation breaks creation of teams when terraform is run by a non-privileged user[/-][+]Add support for creating teams with explicit maintainers[/+]