provider "aws" {
  region = var.aws_region
}

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

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

  repository_name        = var.service_name
  description            = var.description
  application_family     = var.application_family
  default_code_owner     = var.default_code_owner
  pull_request_bypassers = var.pull_request_bypassers
}
