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

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

  repository_name            = "ows-product-configuration"
  description                = "Orchard web service managing product configuration."
  default_code_owner         = "content-delivery-asset-management-cdam"
  application_family         = var.application_family
  branch_protection_patterns = ["main", "master"]
  github_push_teams          = ["dataart-eng", "mergers"]
}
