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

module "github_repositories" {
  source                    = "git@github.com:theorchard/terraform-github.git//?ref=5.0.0"
  application_family        = "delphi"
  repository_name           = "delphi-smf-s3-monitor"
  description               = "Repo for delphi-smf-s3-monitor service. Deployed only in production."
  default_code_owner        = "data-platform"
  allow_merge_commit        = true
  allow_squash_merge        = true
  allow_rebase_merge        = false
  delete_branch_on_merge    = false
  github_code_owner_reviews = true
  github_pull_teams         = []
  github_triage_teams       = ["orcharddevs-ro"]
  github_push_teams         = ["mergers"]
}
