From 4f08ee09e3396346a194014b04d90197b7af21b4 Mon Sep 17 00:00:00 2001 From: George Taylor Date: Mon, 3 Jun 2024 14:31:52 +0100 Subject: [PATCH] Update lb.tf --- terraform/environments/delius-jitbit/lb.tf | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/terraform/environments/delius-jitbit/lb.tf b/terraform/environments/delius-jitbit/lb.tf index 754247d5036..0728ae76c6b 100644 --- a/terraform/environments/delius-jitbit/lb.tf +++ b/terraform/environments/delius-jitbit/lb.tf @@ -94,16 +94,6 @@ resource "aws_vpc_security_group_ingress_rule" "load_balancer_ingress_rule_ipv6" cidr_ipv6 = each.value } -resource "aws_vpc_security_group_egress_rule" "load_balancer_egress_rule" { - for_each = toset([data.aws_subnet.private_subnets_a.cidr_block, data.aws_subnet.private_subnets_b.cidr_block, data.aws_subnet.private_subnets_c.cidr_block]) - description = "Allow egress to ECS instances" - security_group_id = aws_security_group.load_balancer_security_group.id - from_port = local.app_port - to_port = local.app_port - ip_protocol = "tcp" - cidr_ipv4 = each.value -} - resource "aws_lb_listener" "listener" { load_balancer_arn = aws_lb.external.id port = 443