Skip to content

Configuration repository for the terraform-github-repository terraform code

License

Notifications You must be signed in to change notification settings

sous-chefs/terraform-github-repository

Folders and files

NameName
Last commit message
Last commit date
Nov 18, 2024
Mar 20, 2023
Apr 4, 2023
Nov 1, 2023
Nov 1, 2023
Nov 18, 2024
Nov 18, 2024
Apr 1, 2023
Aug 30, 2021
Nov 1, 2023
Oct 13, 2024
Oct 13, 2024
Nov 18, 2024
Aug 30, 2021
Nov 1, 2023
Aug 30, 2021
Jun 14, 2021
Jun 20, 2021
Nov 1, 2023
Nov 1, 2023
Nov 1, 2023
Nov 1, 2023
Nov 1, 2023
Mar 5, 2023
Jun 17, 2021
Jul 16, 2024
Nov 1, 2023
Jun 23, 2023
Mar 5, 2023

Repository files navigation

terraform-github-repository

Repository management for the Sous-Chefs GitHub organisation.

Usage

To create a new repository add it to the list of repository objects inside terraform.tfvars.json

There are 4 repository types we have:

  • cookbook
  • ide
  • terraform
  • other

These repository objects have a number of properties available which can be used:

property description repo_types used by
name the name of the repo all
repo_type the type of repository as per above list all
supermarket_name_override If the supermarket name of the cookbook is not the same as the repo name cookbook
description_override Used to override the description. ide, terraform, other
additional_topics Used to add additional topics to the repo all
additional_status_checks Used to add additional required status checks to the repo all
projects_enabled Used to enable projects on the repo all

Importing a Repo (Board only)

Note: Board Members only Add repository to terraform.tfvars.json import the state file using:

terraform import module.repository[\"bot-trainer\"].github_repository.this bot-trainer
terraform import module.repository[\"bot-trainer\"].github_branch.default bot-trainer:main
terraform import module.repository[\"bot-trainer\"].github_branch_protection.default bot-trainer:main

About

Configuration repository for the terraform-github-repository terraform code

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published