variable "aws_region" {
  default = "us-east-1"
}

variable "environment" {
  default = "qa"
}

variable "service_name" {
  default = "wowza"
}

variable "application_family" {
  default = "devops"
}

variable "team" {
  default = "devops"
}

variable "vpc_name" {
  description = "VPC name to deploy resources."
  type        = string
  default     = "prod"
}

locals {
  tags = {
    environment        = var.environment
    service_name       = var.service_name
    application_family = var.application_family
    terraformed        = true
  }
}

variable "wowza_secrets" {
  type = list(string)
  default = [
    "AWS_ACCESS_KEY_ID",
    "AWS_SECRET_ACCESS_KEY",
    "CUPERTINO_ENCRYPTION_SHARED_SECRET",
    "WSE_LIC",
    "WSE_MGR_PASS",
    "WSE_MGR_USER",
  ]
}

variable "allowed_app_paths" {
  description = "List of allowed Wowza application path patterns"
  type        = list(string)
  default = [
    "vods3",
    "vods3oa",
    "vods3promo",
    "vods3local",
    "vods3standalone",
    "vods3standalonevideo",
    "vods3devworkstation",
    "vods3qaworkstation74",
    "vods3standaloneaudio",
    "vods3contentreview",
    "vods3promoawal",
    "vods3workstationawal"
  ]
}

variable "health_check_path" {
  description = "The health check path for the Wowza service"
  type        = string
  default     = "/ServerVersion"
}
