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

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

  repository_name            = "graphql-knowledge-search"
  description                = "graphql-knowledge-search"
  default_code_owner         = "data-platform"
  application_family         = var.application_family
  delete_branch_on_merge     = true
  branch_protection_patterns = ["master"]
}
