From 5929941978892cd3862fc32c4d27fd3a2b8d60db Mon Sep 17 00:00:00 2001 From: Ee Durbin Date: Sun, 8 Mar 2026 12:05:47 -0400 Subject: [PATCH] update backend address for new ingress --- infra/cdn/main.tf | 2 +- infra/main.tf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/infra/cdn/main.tf b/infra/cdn/main.tf index 91cac411e..90684e8f4 100644 --- a/infra/cdn/main.tf +++ b/infra/cdn/main.tf @@ -32,7 +32,7 @@ resource "fastly_service_vcl" "python_org" { connect_timeout = 1000 first_byte_timeout = 30000 between_bytes_timeout = 10000 - override_host = var.subdomain == "www.test.python.org" ? "www.python.org" : null + override_host = var.backend_address } backend { diff --git a/infra/main.tf b/infra/main.tf index 58159f6cf..a805ed54e 100644 --- a/infra/main.tf +++ b/infra/main.tf @@ -5,7 +5,7 @@ module "fastly_production" { domain = "python.org" subdomain = "www.python.org" extra_domains = ["www.python.org"] - backend_address = "pythondotorg.ingress.us-east-2.psfhosted.computer" + backend_address = "psf-pythondotorg-pythondotorg-b0dbd19e-web.psfhosted.net" default_ttl = 3600 datadog_key = var.DATADOG_API_KEY @@ -27,7 +27,7 @@ module "fastly_staging" { subdomain = "www.test.python.org" extra_domains = ["www.test.python.org"] # TODO: adjust to test-pythondotorg when done testing NGWAF - backend_address = "pythondotorg.ingress.us-east-2.psfhosted.computer" + backend_address = "psf-pythondotorg-pythondotorg-b0dbd19e-web.psfhosted.net" default_ttl = 3600 datadog_key = var.DATADOG_API_KEY