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

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

variable "application_family" {
  default = "gda"
}

variable "lambda_name" {
  default = "lambda-gda-sforce-kafka-sync"
}

variable "lambda_handler" {
  default = "src.app.handler"
}

variable "lambda_provisioned_concurrent_executions" {
  default = 1
}

variable "msk_cluster_name" {
  description = "MSK cluster name to read from."
  default     = "qa-managed-kafka-artist-diy"
}

variable "kafka_topic" {
  description = "Kafka topic to send messages to."
  default     = "event.gdaApproval"
}

variable "kafka_offset_topic_with_delay" {
  description = "Kafka topic to store consumed offsets."
  default     = "event.gdaApproval.offsetsWithDelay"
}

variable "kafka_offset_topic_without_delay" {
  description = "Kafka topic to store consumed offsets for the leads with the Review status."
  default     = "event.gdaApproval.offsetsWithoutDelay"
}

variable "group_id" {
  description = "Consumer group id."
  default     = "qa-salesforce-poller"
}

variable "import_interval_days" {
  description = "Import interval in days."
  default     = 1
}

variable "salesforce_domain" {
  description = "Salesforce domain (should be 'test' for any sandbox)"
  default     = "test"
}

variable "dlq_enabled" {
  description = "Enable lambda DLQ"
  default     = true
}

variable "datadog_advanced_enabled" {
  description = "Enabled DataDog monitoring."
  default     = true
}

variable "cloudwatch_event_schedule" {
  description = "The schedule for cloudwatch event-based invocations. Specify a cron() or rate() expression"
  default     = "rate(1 minute)"
}

variable "datadog_notification_endpoints" {
  description = "DataDog notification endpoints - no notifications for qa."
  default     = ""
}

variable "team_name" {
  description = "Team Name"
  type        = string
  default     = "accounts-platform"
}
