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

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

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

variable "lambda_upc_provisioner_name" {
  description = "Name of the upc provisioner lambda"
  default     = "upc-provisioner"
}

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

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

variable "logger_dsn" {
  description = "DSN for logging."
}

variable "service_name" {
  default = "upc-provisioner"
}

variable "vpc_id" {
  type        = string
  description = "ID of the VPC where the lambdas will execute"
}

variable "vpc_security_group_id" {
  type        = string
  description = "Security group ID for the VPC where the lambdas will execute"
}

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

variable "ar_db_host" {
  description = "DB host for art_relations"
}

variable "ar_db_database" {
  description = "DB name for art_relations"
}

variable "ar_db_port" {
  default = 3306
}

variable "upcs_ar_select_limit" {
  description = "The max number of UPCs to select on each run"
  default     = 5000
}

variable "upcs_ar_select_limit_cron" {
  description = "The number of UPCs to select on cron job run"
  default     = 1000
}

variable "upcs_ar_select_offset" {
  description = "The number to offset before selecting new UPCs"
  default     = 5000
}

variable "sns_topic_arn" {
  description = "The sns topic arn for aws lambda permissions"
}

variable "application_family" {
  default = "product-builder"
}

variable "logger_level" {
  default = "INFO"
}

variable "lambda_handler" {
  description = "The lambdas handler function"
  default     = "src.app.handler"
}
