seahaven-door-unlock-api/terraform/variables.tf
Adam Moussa 61f13bddfe
fix(terraform): defer api domain until dns cutover (#83)
API Gateway custom domain names are unique per region across accounts, so prod cannot create doorunlock.seahaven.com while mgmt still holds it.
2026-08-27 23:06:52 +00:00

23 lines
871 B
HCL

variable "aws_region" {
description = "Region every resource in this configuration is created in."
type = string
default = "us-east-1"
}
variable "domain_name" {
description = "Custom domain for the HTTP API. An ISSUED ACM certificate for this domain must already exist in us-east-1 (see acm.tf)."
type = string
default = "doorunlock.seahaven.com"
}
variable "enable_schedules" {
description = "When true, EventBridge rules invoke the poller and BLF sync. Keep false until live-path proof and DNS cutover."
type = bool
default = false
}
variable "attach_custom_domain" {
description = "When true, create the API Gateway custom domain and mapping. Keep false until mgmt releases doorunlock.seahaven.com at DNS cutover; the hostname is unique per region across accounts."
type = bool
default = false
}