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

module "github_repositories" {
  source                           = "git@github.com:theorchard/terraform-github.git//?ref=4.0.0"
  application_family               = var.application_family
  repository_name                  = "lambda-datadog-auth0"
  branch_protection_enabled        = true
  branch_protection_enforce_admins = true
  archived_repository              = true
  github_code_owner_reviews        = true
  description                      = "Repo for DatadogAuth0LambdaFunction lambda."
  has_downloads                    = false
  homepage_url                     = "https://github.com/theorchard/lambda-datadog-auth0"
  default_code_owner               = "devops-squad"
}
