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

variable "aws_region" {
  default     = "us-east-1"
  type        = string
  description = "Lambda AWS region"
}

variable "service_name" {
  default = "elasticsearch-monitor"
  type    = string
}

variable "datadog_advanced_enabled" {
  type    = bool
  default = true
}

variable "dlq_enabled" {
  description = "Disable lambda DLQ"
  type        = bool
  default     = false
}

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

variable "event_bridge_name" {
  default = "HAWKEYE-Check_At_10AM"
  type    = string
}

variable "priviate_subet_tags" {
  description = "The private subnet tags. This is the subnet that will contain the notebook instance"
  type        = string
  default     = "private0*"
}

variable "event_bridge_schedule_expression" {
  description = "Run everyday at 10AM"
  default     = "cron(0 10 ? * * *)"
  type        = string
}

variable "elasticsearch_secret_arn" {
  description = "elasticsearch password"
  default     = "Secret ARN for elasticsearch"
  type        = string
}


variable "event_bus_name" {
  default = "default"
  type    = string
}

variable "monty_base_url" {
  default = "https://monty.theorchard.io/"
  type    = string
}


variable "lambda_runtime" {
  default = "python3.10"
  type    = string
}

variable "repo_visibility" {
  default = "private"
  type    = string
}

variable "slack_webhook_url" {
  default = "https://hooks.slack.com/services/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"
  type    = string
}

variable "datadog_api_key_secret_path" {
  default = "datadog/DD_API_KEY"
  type    = string
}

variable "container_image_uri" {
  description = "Container Image URI"
  default     = "103233932089.dkr.ecr.us-east-1.amazonaws.com/lambda-elasticsearch-monitor"
  type        = string
}

variable "use_container_image" {
  description = "Whether or not to use a container image. Cannot be mixed with s3_source or local zip deployments. Changes to the container image URI are ignored by this module to allow deployments to be performed outside of Terraform, so by default the function will use a dummy placeholder image on creation. Set var.container_image_custom_uri to use a custom image."
  default     = true
  type        = string
}

variable "aws_lambda_permission_invoke_action" {
  default = "lambda:InvokeFunction"
}

variable "aws_lambda_permission_principal" {
  default = "events.amazonaws.com"
}
