2026-09-16 18:29:01 +00:00
|
|
|
variable "aws_region" {
|
|
|
|
|
description = "Region every resource in this configuration is created in."
|
|
|
|
|
type = string
|
|
|
|
|
default = "us-east-1"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
variable "schedules_enabled" {
|
|
|
|
|
description = "When false, EventBridge rules exist but do not fire. Keep false until Slack and the Stampli uploader point at this stack."
|
|
|
|
|
type = bool
|
|
|
|
|
default = false
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
variable "github_repo" {
|
|
|
|
|
description = "GitHub owner/name for the deploy OIDC trust."
|
|
|
|
|
type = string
|
|
|
|
|
default = "Sea-Haven-Industries/payments-dashboard"
|
|
|
|
|
}
|
|
|
|
|
|
2026-09-28 19:41:09 +00:00
|
|
|
variable "environment" {
|
|
|
|
|
description = "HCP workspace stage. Selects account and workspace name."
|
2026-09-16 18:29:01 +00:00
|
|
|
type = string
|
2026-09-28 19:41:09 +00:00
|
|
|
default = "prod"
|
|
|
|
|
|
|
|
|
|
validation {
|
|
|
|
|
condition = contains(["dev", "prod"], var.environment)
|
|
|
|
|
error_message = "environment must be \"dev\" or \"prod\"."
|
|
|
|
|
}
|
2026-09-16 18:29:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
variable "boa_base_url" {
|
|
|
|
|
description = "Bank of America CashPro API base URL."
|
|
|
|
|
type = string
|
|
|
|
|
default = "https://api.bofa.com"
|
|
|
|
|
}
|