mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
55 lines
1 KiB
HCL
55 lines
1 KiB
HCL
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 "timeout" {
|
|
type = number
|
|
default = 900
|
|
description = "Lambda timeout in seconds."
|
|
}
|
|
|
|
variable "reserved_concurrent_executions" {
|
|
type = number
|
|
default = 1
|
|
description = "Prevent parallel renames causing race conditions on SharePoint."
|
|
}
|
|
|
|
variable "batch_size" {
|
|
type = number
|
|
default = 1
|
|
}
|
|
|
|
variable "sharepoint_client_id" {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "sharepoint_client_secret" {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "sharepoint_tenant_id" {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "social_housing_wave_3_sharepoint_id" {
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
locals {
|
|
image_uri = "${var.ecr_repo_url}@${var.image_digest}"
|
|
}
|