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

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

variable "service_name" {
  default = "gda-score-calculation"
}

variable "vpc_security_group_ids" {
  type        = list(string)
  description = "Security group IDs for the VPC where the lambdas will execute"
  default = ["sg-351b5751"]
}

variable "vpc_subnet_ids" {
  type        = list(string)
  description = "VPC subnet IDs where the lambdas will execute"
  default = ["subnet-b649dfef", "subnet-44c19a21"]
}

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

variable "lambda_scraping_function_timeout" {
  description = "Default value for timeout"
  default     = "180"
}

variable "lambda_default_retry_attempts" {
  description = "Default value for number of retries"
  default     = 5
}

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


variable "datadog_enabled" {
  description = "Whether or not to attach datadog secretsmanager IAM policy"
  default     = true
}


variable "msk_cluster_name" {
  description = "MSK cluster name"
  default     = "dev-managed-kafka-artist-diy"
}

variable "msk_cluster_uuid" {
  description = "MSK cluster UUID for lambda function executions (the last part of the cluster ARN)"
  default     = "818a1380-9e0b-4c5f-a928-ad90a55d62fe-7"
}

variable "trigger_msk_topic" {
  description = "MSK topic that triggers the step function lambda"
  default     = "event.gdaSubmitApplication"
}

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

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