mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-27 23:35:01 +00:00
Self-contained root module mirroring bulk_document_download (4GB memory per ADR-0065, exports-bucket-only IAM). Cross-module wiring (shared ECR/state, fast-api remote_state + ARA_EXPORT_SQS_URL env, CI image build) still needs a terraform plan review — unverifiable in this environment. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
61 lines
1.2 KiB
HCL
61 lines
1.2 KiB
HCL
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 = 5
|
|
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 "ses_from_address" {
|
|
type = string
|
|
description = "Verified SES sender for Scenario Export notifications (ADR-0059)."
|
|
default = "noreply@domna.homes"
|
|
}
|
|
|
|
locals {
|
|
image_uri = "${var.ecr_repo_url}@${var.image_digest}"
|
|
}
|