Skip to content

Latest commit

 

History

History
80 lines (52 loc) · 3.47 KB

README.md

File metadata and controls

80 lines (52 loc) · 3.47 KB

terraform-github-org

Backers on Open Collective Sponsors on Open Collective

For managing the Sous Chefs Github Organisation

Usage

Becoming A Member

Add yourself to modules/org_membership/main.tf

Adding a Repository

Create a file called repository.tf where repository is the name of your repository e.g. foodcritic.tf

Example repository with one maintainer.

module "bsdcpio" {
  source         = "modules/repository"
  name           = "bsdcpio"
  description    = "Development repository for the bsdcpio cookbook"
  cookbook_team  = "${github_team.bsdcpio.id}"

}

resource "github_team" "bsdcpio" {
  name        = "bsdcpio"
  description = "BSDCPIO Cookbook Maintainers"
  privacy     = "closed"
}

resource "github_team_membership" "bsdcpio-maintainer-1" {
  team_id  = "${github_team.bsdcpio.id}"
  username = "josephholsten"
  role     = "maintainer"
}

Becoming a Cookbook maintainer

Add yourself to the repository file e.g. ruby_rbenv.tf

All terraform resource names must be unique. The easiest way to do this is

  • copy the previous resource,
  • increment the number in the name e.g. bsdcpio-maintainer-1 --> bsdcpio-maintainer-2
  • change their name to yours.

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]