mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-03 20:13:22 +00:00
Introduce import-guarded environment roots and retire temporary bootstrap and POC provisioning after ownership transfer.
30 lines
833 B
HCL
30 lines
833 B
HCL
variable "poc_environment_id" {
|
|
type = string
|
|
description = "Exact e-* ID of the retained POC environment."
|
|
|
|
validation {
|
|
condition = can(regex("^e-[a-z0-9]+$", var.poc_environment_id))
|
|
error_message = "poc_environment_id must be an Elastic Beanstalk e-* ID."
|
|
}
|
|
}
|
|
|
|
variable "poc_hosted_zone_id" {
|
|
type = string
|
|
description = "Exact Route 53 ID of the retained child zone."
|
|
|
|
validation {
|
|
condition = can(regex("^Z[A-Z0-9]+$", var.poc_hosted_zone_id))
|
|
error_message = "poc_hosted_zone_id must be a Route 53 hosted-zone ID."
|
|
}
|
|
}
|
|
|
|
variable "poc_certificate_arn" {
|
|
type = string
|
|
description = "Exact ARN of the retained ACM certificate."
|
|
}
|
|
|
|
variable "poc_app_config_secret_arn" {
|
|
type = string
|
|
description = "Exact ARN of the retained POC app-config secret."
|
|
}
|
|
|