Skip to content

colindean/physical-space-tracker-terraform

Repository files navigation

Automated setup of an office tracker repository

Pre-requisites

These are installable on macOS with Homebrew by running brew bundle in this directory.

Steps

⚠ You must be an organization admin to add people to the triage team. That's why the default has no members!

  1. Create a new repository in your GitHub organization.
  2. Set the environment variables in the table below.
  3. Run deleteLabels.sh to remove all existing labels, such as defaults.
  4. Set the configuration vars in terraform.tfvars. See terraform.tfvars.sample for a sample.
  5. terraform plan
  6. terraform apply

If you want to also set up an issue template, you can use the module in issue_templates but you will need to install the git provider for Terraform. See the README in that directory for more information.

Environment variables

Name Purpose
GITHUB_TOKEN An authentication token for your GitHub instance
GITHUB_HOST The URL for Github, generally github.com or git.example.com
GITHUB_ORG The organization in which the repo was created.
GITHUB_REPO The repository's name.