Resource that allows to declare github teams for repository.
Name | Version |
---|---|
terraform | >= 0.13 |
github | < 5.0 |
Name | Version |
---|---|
github | < 5.0 |
Name | Type |
---|---|
github_team.team | resource |
github_team.team-admins | resource |
github_team.team-data-science | resource |
github_team.team-developers | resource |
github_team.team-developers-backend | resource |
github_team.team-developers-devops | resource |
github_team.team-developers-frontend | resource |
github_team.team-developers-mobile | resource |
github_team.team-testers | resource |
github_team.team-visitors | resource |
github_team_membership.admin-membership | resource |
github_team_membership.backend-membership | resource |
github_team_membership.data-science-membership | resource |
github_team_membership.devops-membership | resource |
github_team_membership.frontend-membership | resource |
github_team_membership.mobile-membership | resource |
github_team_membership.tester-membership | resource |
github_team_membership.visitor-membership | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
project_code_name | Codename of project | any |
n/a | yes |
admin_members | Admin team members | list(string) |
[] |
no |
visiting_members | Visitors team members | list(string) |
[] |
no |
tester_members | Tester team members | list(string) |
[] |
no |
backend_members | BackEnd team members | list(string) |
[] |
no |
frontend_members | FrontEnd team members | list(string) |
[] |
no |
devops_members | DevOps team members | list(string) |
[] |
no |
mobile_members | Mobile team members | list(string) |
[] |
no |
data_science_members | Data Science team members | list(string) |
[] |
no |
Name | Description |
---|---|
main_id | Team of all repository members |
admins_id | Team of repository administrators |
data_science_id | Data science repository team |
visitors_id | Repository visitor team |
testers_id | Repository testing team |
developers_id | Team of all developers in the repository (frontent, backend, devops and mobile developers) |
developers_frontend_id | Team of front-end developers in the repository |
developers_backend_id | Team of back-end developers in the repository |
developers_mobile_id | Team of mobile developers in the repository |
developers_devops_id | Team of devops in the repository |
module "team" {
source = "git@github.com:masterborn/terraform-github-default-team.git?ref=v1.0.0"
project_code_name = "some-repository-name"
admin_members = ["john-doe"]
backend_members = ["jan-kowalski"]
frontend_members = ["jan-kowalski", "john-doe"]
data_science_members = ["github-data-science-member-name"]
tester_members = ["github-tester-member-name"]
visiting_members = ["visitor-name"]
}
Following pre-commit hooks are provided:
- terraform-fmt to check syntax of terraform
- terraform-docs to recreate README.md according to terraform module properties
- end-of-file-fixer to ensure that each file ends with newline
To install pre-commit
check .
pre-commit install