variable "aws_region" {
  default     = "us-east-1"
  description = "Which AWS region to spin up the fargate environment in"
}

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

variable "service_name" {
  default = "ows-vectororder"
}

variable "mysql_user" {
  default = "ows_vectororder"
}

variable "mysql_port" {
  default = 3306
}

variable "ar_mysql_database" {
  default = "art_relations"
}

variable "ar_mysql_host" {
  default = "ar-db.theorchard.com"
}

variable "dd_mysql_database" {
  default = "direct_delivery"
}

variable "dd_mysql_host" {
  default = "dd-db.theorchard.com"
}

variable "ddb_orders_table" {
  default = "prod-vector-orders"
}

variable "ddb_search_requests_table" {
  default = "prod-vector-orders-search-requests"
}

variable "opensearch_name" {
  default = "dd-search-os"
}

variable "application_family" {
  default = "vector"
}

variable "team_name" {
  type        = string
  description = "Name of team that owns the service"
  default     = "content-delivery-asset-management"
}

variable "secret_names" {
  type = list(string)
  default = [
    "AR_MYSQL_PASSWORD",
    "DD_MYSQL_PASSWORD",
  ]
}

variable "application_channel" {
  default = "@slack-content-delivery-and-asset-mgmt-alerts"
}

variable "healthy_tasks_notification_endpoints" {
  default = "@oncall-content-delivery-asset-management"
}

variable "cpu_monitor_evaluation_function" {
  description = "CPU utilization evaluation function"
  default     = "avg"
}

variable "cpu_time_window" {
  description = "CPU utilization time window"
  default     = "last_30m"
}

variable "cpu_critical_number" {
  description = "CPU utilization percentage for critical alerts"
  default     = 100
}

variable "cpu_critical_recovery_number" {
  description = "CPU utilization percentage for critical recovery"
  default     = 99
}

variable "cpu_warning_number" {
  description = "CPU utilization percentage for warnings"
  default     = 98
}

variable "cpu_warning_recovery_number" {
  description = "CPU utilization percentage for warning recovery"
  default     = 97
}

variable "delivery_xml_bucket_name" {
  description = "Name of the S3 bucket containing delivery XML files for vector orders"
  default     = "prod-vector-audit"
}
