variable "lambda_name" { type = string description = "Logical name of the lambda" } variable "stage" { description = "Deployment stage (e.g. dev, prod)" type = string } variable "ecr_repo_url" { type = string description = "ECR repository URL (no tag, no digest)" } variable "image_digest" { type = string description = "Image digest (sha256:...)" } variable "reserved_concurrent_executions" { type = number default = -1 description = "Reserved concurrency for the Lambda. -1 = unreserved." } variable "maximum_concurrency" { type = number default = 32 description = "Maximum concurrent Lambda invocations from the SQS trigger." } variable "batch_size" { type = number default = 1 } variable "db_host" { type = string sensitive = true } variable "db_name" { type = string sensitive = true } variable "db_port" { type = string sensitive = true } variable "open_epc_api_token" { type = string sensitive = true } variable "google_solar_api_key" { type = string sensitive = true } locals { image_uri = "${var.ecr_repo_url}@${var.image_digest}" }