Skip to content

Commit 07e0833

Browse files
committed
chore: rename sites
1 parent 2856d9c commit 07e0833

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

infra/cdn/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ 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))
65+
condition = can(regex("^(pythondotorg-test|pythondotorg-prod)$", var.ngwaf_site_name))
6666
error_message = "'ngwaf_site_name' must be one of the following: test, stage, or prod"
6767
}
6868
}

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 = false
@@ -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)