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

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

  repository_name         = "mcp-graphql"
  description             = "MCP auth proxy and Apollo MCP Server for Claude Code access to the Orchard GraphQL graph"
  default_code_owner      = "orchard-suite-platform-osp"
  application_family      = var.application_family
  delete_branch_on_merge  = true
  required_status_checks  = []
}
