variable "aws_region" {
  default     = "us-east-1"
  description = "AWS region"
}

variable "environment" {
  description = "Available values:  dev, qa, prod."
  default     = "qa"
}

variable "service_name" {
  default = "preference-center-web"
}

variable "application_family" {
  default = "fansifter"
}

variable "subdomain_name" {
  default = "preferences"
}

locals {
  tags = {
    environment        = var.environment
    service_name       = var.service_name
    application_family = var.application_family
    terraformed        = true
  }
  route53_zone      = "${var.environment}-fansifter.theorchard.io"
  cloudfront_domain = "${var.environment}-${var.subdomain_name}.${local.route53_zone}"
}
