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

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

  repository_name                  = "ama-website"
  branch_protection_enabled        = true
  branch_protection_enforce_admins = true
  archived_repository              = true
  github_code_owner_reviews        = true
  description                      = "static website (Managed by Terraform)"
  homepage_url                     = "https://sma.stream"


  github_pull_teams  = ["rti-team"]
  github_push_teams  = ["mergers", "rti-be-team", "rti-fe-team"]
  application_family = "insights"
  default_code_owner = "insights"
}
