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

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

  repository_name     = "filtr-www"
  archived_repository = true
  description         = "Managed by Terraform."
  has_downloads       = false
  homepage_url        = "filtr.com"
  application_family  = "apollo"
  default_code_owner  = "insights"
  github_push_teams = [
    "mergers",
    "apollo-be-team",
    "apollo-fe-team"
  ]
  github_pull_teams = ["apollo-team"]
}
