provider "aws" {
  region = var.aws_region
}

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

module "github_repositories" {
  source = "git@github.com:theorchard/terraform-github.git//?ref=4.2.1"
  repository_name     = "statementdb-to-snowflake"
  archived_repository = true
  description         = "Export Statementdb data into Snowflake"
  has_downloads       = false
  homepage_url        = "https://github.com/theorchard/statementdb-to-snowflake"
  application_family  = "abacus"
  default_code_owner  = "abacus"
}
