provider "aws" {
  region = var.aws_region
}

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

module "github_repositories" {
  source              = "git@github.com:theorchard/terraform-github.git//?ref=6.0.0"
  repository_name     = "lambda-releases.theorchard.com"
  description         = "lambda-releases.theorchard.com"
  default_code_owner  = "content-delivery-asset-management-cdam"
  application_family  = var.application_family
  homepage_url        = "https://github.com/theorchard/lambda-releases.theorchard.com"
  has_downloads       = true
  github_pull_teams   = ["orcharddevs-ro"]
  github_triage_teams = []
}
