mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-04 13:42:14 +00:00
31 lines
833 B
Terraform
31 lines
833 B
Terraform
|
|
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."
|
||
|
|
}
|
||
|
|
|