Created
March 5, 2020 17:35
-
-
Save soerenmartius/7ff98525ac279a236d97d4941361e30b to your computer and use it in GitHub Desktop.
How to manage your GitHub Organization with Terraform - Teams
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module "team_reviewers" { | |
source = "mineiros-io/team/github" | |
version = "0.1.2" | |
name = "Reviewers" | |
description = "A team of users that are mandatory for reviewing Pull Requests." | |
privacy = "secret" | |
members = [ | |
local.member_users["[email protected]"], | |
local.member_users["[email protected]"] | |
] | |
maintainers = values(local.admin_users) | |
} | |
module "team_contributors" { | |
source = "mineiros-io/team/github" | |
version = "0.1.2" | |
name = "Contributors" | |
description = "A team of users that have the permission to contribute to repositories that are assigned to the team." | |
privacy = "secret" | |
members = [ | |
local.member_users["[email protected]"], | |
local.member_users["[email protected]"], | |
local.member_users["[email protected]"] | |
] | |
maintainers = values(local.admin_users) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment