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

module "github_repositories" {
  source = "git@github.com:theorchard/terraform-github.git//?ref=2.6.0"
  github_repository_names = {
    k6-hybrid-performance-tests = {
      branch_protection_enabled        = true
      branch_protection_enforce_admins = false
      repo_auto_init                   = true
      archived_repository              = false
      github_code_owner_reviews        = true
      visibility                       = "private"
      description                      = "Performance tests built using grafana k6."
      has_downloads                    = false
      homepage_url                     = ""
    }
  }
  application_family = var.application_family
  github_push_teams = ["mergers"]
}
