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 +}