variable "aws_region" {
  default     = "us-east-1"
  description = "AWS region"
}

variable "environment" {
  description = "Available values:  dev, qa, prod."
  default     = "prod"
}

variable "service_name" {
  default = "ows-store"
}

variable "MYSQL_HOST" {
  default = "ar-db.theorchard.com"
}

variable "MYSQL_DATABASE" {
  default = "art_relations"
}

variable "MYSQL_USER" {
  default = "ows-store-exptn"
}

variable "logger_level" {
  default = "INFO"
}

variable "application_family" {
  default     = "product-builder"
  description = "Application family to which ows-store belongs"
}

variable "notification_endpoints" {
  description = "Endpoints for alerts. Can be email, slack, pagerduty, etc"
  type        = string
  default     = "@slack-content-delivery-and-asset-mgmt-alerts"
}

variable "escalation_notification_endpoints" {
  description = "Endpoints for escalation alerts. Can be email, slack, pagerduty, etc"
  type        = string
  default     = "@slack-content-delivery-and-asset-mgmt-alerts"
}

variable "secret_name" {
  default = "MYSQL_PASSWORD"
}

variable "critical_number_5xx" {
  description = "Number of 5xx requests (per 5m) for critical alerts"
  default     = 5
}

variable "critical_recovery_number_5xx" {
  description = "Number of 5xx requests (per 5m) for critical recovery"
  default     = 3
}

variable "warning_number_5xx" {
  description = "Number of 5xx requests (per 5m) for warnings"
  default     = 3
}

variable "warning_recovery_number_5xx" {
  description = "Number of 5xx requests (per 5m) for warning recovery"
  default     = 1
}

variable "dependent_applications" {
  description = "List of dependent applications"
  default     = ["distribution-suite", "content", "royalties"]
}

variable "cpu_time_window" {
  description = "CPU utilization time window"
  default     = "last_30m"
}
