For managing the Sous Chefs Github Organisation
Add yourself to modules/org_membership/main.tf
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"
}
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.
Note: Board Members only Create the terraform file for the repository import the state file using:
terraform import module.memcached.github_repository.repository memcached
Then get the PR merged in, not merging in the PR will result in terraform deleting the repo on next run
This project exists thanks to all the people who contribute.
Thank you to all our backers! 🙏 [Become a backer]
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]