mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
84 lines
1.4 KiB
HCL
84 lines
1.4 KiB
HCL
variable "lambda_name" {
|
|
type = string
|
|
description = "Logical name of the lambda"
|
|
default = "abri_api"
|
|
}
|
|
|
|
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 = null
|
|
description = "Maximum number of concurrent Lambda invocations from SQS (2-1000). null = no limit."
|
|
}
|
|
|
|
variable "reserved_concurrent_executions" {
|
|
type = number
|
|
default = 1
|
|
}
|
|
|
|
variable "batch_size" {
|
|
type = number
|
|
default = 1
|
|
}
|
|
|
|
locals {
|
|
image_uri = "${var.ecr_repo_url}@${var.image_digest}"
|
|
}
|
|
|
|
output "resolved_image_uri" {
|
|
value = local.image_uri
|
|
}
|
|
|
|
variable "abri_relay_url" {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "abri_relay_username" {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "abri_relay_password" {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "abri_relay_default_resource" {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "hubspot_api_key" {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "db_host" {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "db_name" {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "db_port" {
|
|
type = string
|
|
sensitive = true
|
|
}
|