Skip to content

Commit ceb601b

Browse files
committed
fix(infra): update validation regex
1 parent 84515d4 commit ceb601b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

infra/cdn/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ variable "ngwaf_site_name" {
6262
description = "Site SHORT name for NGWAF"
6363

6464
validation {
65-
condition = can(regex("^(test|stage|prod)$", var.ngwaf_site_name))
66-
error_message = "'ngwaf_site_name' must be one of the following: test, stage, or prod"
65+
condition = can(regex("^(pythondotorg-test|pythondotorg-prod)$", var.ngwaf_site_name))
66+
error_message = "'ngwaf_site_name' must be one of the following: pythondotorg-test, or pythondotorg-prod"
6767
}
6868
}
6969
variable "ngwaf_email" {

0 commit comments

Comments
 (0)