From ceb601b721297df02c198d76a099a4e72afc1108 Mon Sep 17 00:00:00 2001 From: Jacob Coffee Date: Fri, 27 Sep 2024 09:37:20 -0500 Subject: [PATCH] fix(infra): update validation regex --- infra/cdn/variables.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/cdn/variables.tf b/infra/cdn/variables.tf index ec0a11a83..969d51e77 100644 --- a/infra/cdn/variables.tf +++ b/infra/cdn/variables.tf @@ -62,8 +62,8 @@ variable "ngwaf_site_name" { description = "Site SHORT name for NGWAF" validation { - condition = can(regex("^(test|stage|prod)$", var.ngwaf_site_name)) - error_message = "'ngwaf_site_name' must be one of the following: test, stage, or prod" + condition = can(regex("^(pythondotorg-test|pythondotorg-prod)$", var.ngwaf_site_name)) + error_message = "'ngwaf_site_name' must be one of the following: pythondotorg-test, or pythondotorg-prod" } } variable "ngwaf_email" {