From 585c4b34dd00cb1b274bd99e5da8f594eea60e78 Mon Sep 17 00:00:00 2001 From: Anil Amrute <60308655+anilamrute@users.noreply.github.com> Date: Sun, 19 Apr 2026 16:39:58 +0530 Subject: [PATCH] Add ingress rule to main.tf --- Day-2/PROJECT-vpc-with-ec2/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Day-2/PROJECT-vpc-with-ec2/main.tf b/Day-2/PROJECT-vpc-with-ec2/main.tf index 2a466c1c..a061eeff 100644 --- a/Day-2/PROJECT-vpc-with-ec2/main.tf +++ b/Day-2/PROJECT-vpc-with-ec2/main.tf @@ -58,7 +58,7 @@ resource "aws_security_group" "webSg" { cidr_blocks = ["0.0.0.0/0"] } - egress { + ingress { from_port = 0 to_port = 0 protocol = "-1" @@ -142,4 +142,4 @@ resource "aws_lb_listener" "listener" { output "loadbalancerdns" { value = aws_lb.myalb.dns_name -} \ No newline at end of file +}