Skip to content

Commit 2ad6567

Browse files
authored
fix(infra): use new site names (#2614)
1 parent 9e4d888 commit 2ad6567

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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" {

infra/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module "fastly_production" {
1313
fastly_header_token = var.FASTLY_HEADER_TOKEN
1414
s3_logging_keys = var.fastly_s3_logging
1515

16-
ngwaf_site_name = "prod"
16+
ngwaf_site_name = "pythondotorg-prod"
1717
ngwaf_email = "infrastructure-staff@python.org"
1818
ngwaf_token = var.ngwaf_token
1919
activate_ngwaf_service = true
@@ -35,7 +35,7 @@ module "fastly_staging" {
3535
fastly_header_token = var.FASTLY_HEADER_TOKEN
3636
s3_logging_keys = var.fastly_s3_logging
3737

38-
ngwaf_site_name = "test"
38+
ngwaf_site_name = "pythondotorg-test"
3939
ngwaf_email = "infrastructure-staff@python.org"
4040
ngwaf_token = var.ngwaf_token
4141
activate_ngwaf_service = true

0 commit comments

Comments
 (0)