terraform {
  backend "s3" {
    bucket  = "orcd-terraform-state"
    key     = "prod/github/songwhip-queue/terraform.tfstate"
    region  = "us-east-1"
    encrypt = "true"
  }
}

module "github_repositories" {
  source = "git@github.com:theorchard/terraform-github.git//?ref=2.1.7"
  github_repository_names = {
    songwhip-queue = {
      branch_protection_enabled        = true
      branch_protection_enforce_admins = true
      repo_auto_init                   = true
      archived_repository              = false
      github_code_owner_reviews        = false
      visibility                       = "private"
      description                      = "A queue service to trigger (and retry) http requests"
      has_downloads                    = false
      homepage_url                     = "https://github.com/theorchard/songwhip-queue"
    }
  }
}