From f8097805a41a6f4c9a9d35a7ed02f0d9561c0831 Mon Sep 17 00:00:00 2001 From: Simon Hughesdon Date: Fri, 18 Oct 2024 14:05:52 +0100 Subject: [PATCH] Remove privatelink config We have not defined security groups on this NLB, as it's just a pass through to an application load balancer. Because of that, we don't need the configuration to excuse traffic from the VPC link. --- .../govuk-publishing-infrastructure/search_api_gateway.tf | 2 -- 1 file changed, 2 deletions(-) diff --git a/terraform/deployments/govuk-publishing-infrastructure/search_api_gateway.tf b/terraform/deployments/govuk-publishing-infrastructure/search_api_gateway.tf index 73f23e282..c4e8ff460 100644 --- a/terraform/deployments/govuk-publishing-infrastructure/search_api_gateway.tf +++ b/terraform/deployments/govuk-publishing-infrastructure/search_api_gateway.tf @@ -8,8 +8,6 @@ resource "aws_lb" "search_nlb" { load_balancer_type = "network" internal = true subnets = data.terraform_remote_state.infra_networking.outputs.private_subnet_ids - - enforce_security_group_inbound_rules_on_private_link_traffic = "off" } resource "aws_lb_target_group" "search_api_gateway_tg" {