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


module "github_repositories" {
  source                           = "git::https://github.com/theorchard/terraform-github.git//?ref=5.0.0"
  
  application_family               = var.application_family
  branch_protection_enforce_admins = false
  default_code_owner               = var.default_code_owner
  description                      = "Python package for Abacus SQLAlchemy models"
  github_code_owner_reviews        = true
  pull_request_bypassers           = ["orchardci"]
  repository_name                  = var.service_name
  required_status_checks           = ["Jenkins"]
}
