provider "aws" {
  region = var.aws_region
}

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

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

  repository_name           = "abacus-docs"
  description               = "Repository for the Abacus documentation"
  default_code_owner        = "abacus"
  branch_protection_enabled = false
  application_family        = var.application_family
}
