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

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

variable "service_name" {
  description = "The name of the associated application."
  default     = "ddex-ingester"
}

variable "application_family" {
  default = "content-management"
}

variable "lambda_default_timeout" {
  description = "Default value for timeout"
  default     = "300"
}

variable "datadog_enabled" {
  description = "Whether or not to attach datadog secretsmanager IAM policy"
  default     = true
}

variable "rds_rw_user" {
  description = "DDEX ingester user used to read and write to RDS"
  default     = "ddex-ingester-RW"
}

variable "logger_dsn" {
  description = "Fluentd logger DSN"
  default     = "udp://qa-fluentd-applications-udp.theorchard.io:5160"
}

variable "lambda_concurrent_executions" {
  description = "Number of reserved concurrent executions for lambda function"
  default     = 10
}

variable "secrets_manager_secret_names" {
  description = "List of secrets manager secrets to create"
  type        = list(string)
  default     = [
    "DDEX-INGESTER-TEST-PASSWORD",
  ]
}

variable "lambda_datadog_notification_endpoints" {
  description = "DataDog notification endpoints for Lambda functions."
  type        = string
  default     = "@slack-The_Orchard-ddex-ingester"
}
