Model/deployment/terraform/lambda/hubspot_deal_etl/variables.tf
Daniel Roth 8e880eea6f Expose the Abri test project-code override to the scraper lambda 🟩
Wires TEST_ABRI_PROJECT_CODE_OVERRIDE from an optional deploy-time tfvar
through to the hubspot_deal_etl lambda env; unset keeps production behaviour.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 10:28:48 +00:00

63 lines
No EOL
1.2 KiB
HCL

variable "lambda_name" {
type = string
description = "Logical name of the lambda (e.g. address2uprn)"
}
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 "maximum_concurrency" {
type = number
default = 20
description = "Maximum number of concurrent Lambda invocations from SQS (2-1000). null = no limit."
}
variable "batch_size" {
type = number
default = 5
}
locals {
image_uri = "${var.ecr_repo_url}@${var.image_digest}"
}
output "resolved_image_uri" {
value = local.image_uri
}
variable "db_host" {
type = string
}
variable "hubspot_api_key" {
type = string
}
variable "db_name" {
type = string
}
variable "db_port" {
type = string
}
# Temporary end-to-end-test toggle: overrides the hardcoded Abri stock-condition
# project code the deal differ gates on, so a sandbox deal on its own project
# code fires the Abri flows. Empty (the default) keeps the production code.
variable "test_abri_project_code_override" {
type = string
default = ""
}