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

variable "region" {
  default = "us-east-1"
}

variable "vpc_security_group_ids" {
  type        = list(string)
  description = "Security group IDs for the VPC where the lambdas will execute"
}

variable "vpc_subnet_ids" {
  type        = list(string)
  description = "VPC subnet IDs where the lambdas will execute"
}

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

variable "lambda_memory_size" {
  description = "Memory size for the lambda function"
  default     = "512"
}

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

variable "iam_policy_file_location" {
  default = "../modules/lambda/policies"
}

variable "LOGGER_DSN" {
  description = "DSN for logging."
  default     = "udp://qa-fluentd-applications-udp.theorchard.io:5160"
}

variable "lambda_concurrency" {
  description = "Reserved concurrent executions"
  default     = 10
}

variable "event_source_mapping_queue_name" {
  description = "SQS queue name for lambda w/o ENV prefix."

  # drop _v2-queue from queue name when all stores are ready to go
  default = "batch_to_close_v2-queue"
}

variable "sqs_message_batch_size" {
  description = "Number of messages to send to lambda"
  default     = 1
}

