provider "aws" {
  region  = var.aws_region
  profile = "gdb-artistapp-prod"
}

# Terraform backends cannot contain interpolations
terraform {
  backend "s3" {
    bucket  = "gdb-artistapp-prod-tfstate"
    key     = "prod/sentry/terraform.tfstate"
    region  = "us-east-1"
    encrypt = "true"
    profile = "gdb-artistapp-prod"
  }
}

module "sentry_team" {
  source = "git@github.com:theorchard/terraform-sentry-team.git//?ref=1.0.0"

  name = var.sentry_team_name
}
