Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2ad6567

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

File tree

2 files changed

+4
-4
lines changed
Filter options

2 files changed

+4
-4
lines changed

‎infra/cdn/variables.tf

Copy file name to clipboardExpand all lines: infra/cdn/variables.tf
+2-2Lines 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

Copy file name to clipboardExpand all lines: infra/main.tf
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.