provider "github" {
  owner    = var.github_organization
  app_auth {}
}

terraform {
  backend "s3" {
    bucket  = "orcd-terraform-state"
    key     = "prod/github/bulk-shopify-onboarding/terraform.tfstate"
    region  = "us-east-1"
    encrypt = "true"
  }
}

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

  repository_name           = "bulk-shopify-onboarding"
  application_family        = var.application_family
  description               = "Fivetran Connect Card tooling for bulk Shopify store onboarding"
  default_code_owner        = "d2c"
  github_code_owner_reviews = true
}
