# Terraform backends cannot contain interpolations
terraform {
  backend "s3" {
    bucket  = "orcd-terraform-state"
    key     = "prod/github/rti-delphi-data-validation/terraform.tfstate"
    region  = "us-east-1"
    encrypt = "true"
  }
}

module "github_repositories" {
  source = "git@github.com:theorchard/terraform-github.git//?ref=6.1.2"

  repository_name                  = "rti-delphi-data-validation"
  branch_protection_enabled        = true
  branch_protection_enforce_admins = true
  archived_repository              = true
  github_code_owner_reviews        = true
  description                      = "Data validation tool (Managed by Terraform)"
  has_downloads                    = false
  homepage_url                     = ""


  github_pull_teams = ["rti-team"]
  github_push_teams = ["mergers", "rti-be-team", "rti-fe-team"]

  application_family = "insights"
  default_code_owner = "insights"
}
