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

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

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 "vpc_security_group_ids" {
  type        = list(any)
  description = "Security group IDs for the VPC where the lambdas will execute"
  default     = ["sg-21f1ed44"]
}

variable "vpc_subnet_ids" {
  type        = list(any)
  description = "VPC subnet IDs where the lambdas will execute"
  default     = ["subnet-cb4dbae0", "subnet-5366ef24", "subnet-043d235081c966332"]
}

variable "vpc_id" {
  description = "VPC ID"
  default     = "vpc-7f0e841a"
}

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

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

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

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

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

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"
  default     = "@slack-orcd-artist-submission @slack-platform-team @gda-alerts@theorchard.com"
}
