From f8b7d39e83dad70d84a1f3d22851d8935c02e12b Mon Sep 17 00:00:00 2001 From: Colin Saliceti Date: Tue, 24 Sep 2024 17:25:10 +0100 Subject: [PATCH] Revert "2046-setup-redirect-from-get-a-teacher-relocation-payment (#438)" (#440) This reverts commit 583cf0b367748729a2b3f1dc9cf6fb09da6cef17. The service is still needed --- .../environment_domains/config/trp_production.tfvars.json | 6 +----- terraform/custom_domains/environment_domains/main.tf | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/terraform/custom_domains/environment_domains/config/trp_production.tfvars.json b/terraform/custom_domains/environment_domains/config/trp_production.tfvars.json index 1af7c564..dcea7305 100644 --- a/terraform/custom_domains/environment_domains/config/trp_production.tfvars.json +++ b/terraform/custom_domains/environment_domains/config/trp_production.tfvars.json @@ -12,11 +12,7 @@ ], "environment_short": "pd", "origin_hostname": "teacher-relocation-payment-production.teacherservices.cloud", - "redirect_rules":[{ - "from-domain": "apex", - "to-domain": "getintoteaching.education.gov.uk", - "to-path": "/non-uk-teachers/get-an-international-relocation-payment" - }], + "null_host_header": true, "cnames": { } } diff --git a/terraform/custom_domains/environment_domains/main.tf b/terraform/custom_domains/environment_domains/main.tf index d7b184e1..58cc076b 100644 --- a/terraform/custom_domains/environment_domains/main.tf +++ b/terraform/custom_domains/environment_domains/main.tf @@ -10,7 +10,6 @@ module "domains" { host_name = each.value.origin_hostname null_host_header = try(each.value.null_host_header, false) cached_paths = try(each.value.cached_paths, []) - redirect_rules = try(each.value.redirect_rules, []) } # Takes values from hosted_zone.domain_name.cnames (or txt_records, a-records). Use for domains which are not associated with front door.