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

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

variable "service_name" {
  default = "maxwells-dd-search"
}

variable "application_family" {
  default = "data-platform"
}

variable "notification_endpoints" {
  default = "@slack-data-alerts-qa"
}

variable "escalation_notification_endpoints" {
  default = ""
}

variable "secrets_manager_secret_names" {
  description = "List of secrets manager secrets to create"
  type        = list(string)
  default = [
    "MYSQL_PASSWORD",
  ]
}

variable "maxwell_mysql_host" {
  description = "The MySQL host to connect to"
  type        = string
  default     = "qadddb.qaorch.com"
}

variable "maxwell_mysql_user" {
  description = "The MySQL user to connect with"
  type        = string
  default     = "maxwell-dd-srch"
}

variable "include_expressions" {
  description = "List of tables to include"
  type        = list(string)
  default = [
    "direct_delivery.encoding_queue",
    "direct_delivery.encoding_queue_detail",
    "direct_delivery.dms_delivery_spec"
  ]
}

variable "maxwell_mysql_schema_database" {
  description = "The name of the MySQL database where maxwell keeps its own state"
  type        = string
  default     = "maxwell_dd_search"
}

variable "maxwell_producer" {
  description = "The maxwell producer type"
  type        = string
  default     = "kinesis"
}

variable "maxwell_producer_partition_by" {
  description = "The value of the producer_partition_by maxwell configuration property"
  type        = string
  default     = "primary_key"
}

variable "maxwell_producer_partition_by_fallback" {
  description = "The value of the producer_partition_by_fallback maxwell configuration property"
  type        = string
  default     = "table"
}

variable "maxwell_mysql_client_id" {
  description = "The value of the client_id maxwell configuration property"
  type        = string
  default     = "maxwell_client"
}

variable "maxwell_mysql_replica_server_id" {
  description = "The value of the replica_server_id maxwell configuration property"
  type        = string
  default     = "6379"
}
