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

module "github_repositories" {
  source = "git@github.com:theorchard/terraform-github.git//?ref=2.4.0"
  github_repository_names = {
    ml-collab = {
      branch_protection_enabled        = true
      branch_protection_enforce_admins = true
      repo_auto_init                   = true
      archived_repository              = false
      github_code_owner_reviews        = false
      visibility                       = "private"
      description                      = "Machine learning related projects, mainly used for Sagemaker"
      has_downloads                    = false
      homepage_url                     = "https://github.com/theorchard/ml-collab"
      pull_request_bypassers           = var.usernames
    }
  }

  application_family = "data-platform"

}
