provider "aws" {
  region = var.aws_region
}

# Terraform backends cannot contain interpolations
terraform {
  backend "s3" {
    bucket  = "qa-songwhip-terraform-state"
    key     = "qa/route53/terraform.tfstate"
    region  = "us-east-1"
    encrypt = "true"
  }
}

# Public hosted zone for staging.songwhip.com
resource "aws_route53_zone" "staging_songwhip_com" {
  name = "aws-staging.songwhip.com"

  tags = {
    Environment = "qa"
    terraformed = "true"
  }
}
