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

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

  application_family        = var.application_family
  repository_name           = "lambda-ioc"
  description               = "Repo for ioc lambdas."
  default_code_owner        = "devops-squad"
  homepage_url              = "https://github.com/theorchard/lambda-ioc"
  github_code_owner_reviews = true

  github_triage_teams = ["orcharddevs-ro"]
  github_push_teams   = ["mergers"]
}
