Commit fec210b9 authored by rajat.kulkarni's avatar rajat.kulkarni

Update sampleSG.tf

parent f2682ac4
Pipeline #26635 failed with stage
in 4 seconds
...@@ -4,25 +4,22 @@ resource "aws_security_group" "security_group_name1" { ...@@ -4,25 +4,22 @@ resource "aws_security_group" "security_group_name1" {
vpc_id = aws_default_vpc.main.id vpc_id = aws_default_vpc.main.id
ingress { ingress {
from_port = 80 from_port = 80
to_port = 80 to_port = 80
protocol = "tcp" protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"] cidr_blocks = ["0.0.0.0/0"]
} }
ingress { ingress {
from_port = 22 from_port = 22
to_port = 22 to_port = 22
protocol = "tcp" protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"] cidr_blocks = ["0.0.0.0/0"]
} }
egress { egress {
from_port = 0 from_port = 0
to_port = 0 to_port = 0
protocol = "-1" protocol = "-1"
cidr_blocks = ["0.0.0.0/0"] cidr_blocks = ["0.0.0.0/0"]
} }
} }
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment