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

Update sampleSG.tf

parent f2682ac4
Pipeline #26635 failed with stage
in 4 seconds
resource "aws_security_group" "security_group_name1" { resource "aws_security_group" "security_group_name1" {
name = "security_group_name1" name = "security_group_name1"
description = "Allow TLS inbound traffic" description = "Allow TLS inbound traffic"
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 {
from_port = 22
ingress { to_port = 22
from_port = 22 protocol = "tcp"
to_port = 22 cidr_blocks = ["0.0.0.0/0"]
protocol = "tcp" }
cidr_blocks = ["0.0.0.0/0"] egress {
} from_port = 0
to_port = 0
egress { protocol = "-1"
from_port = 0 cidr_blocks = ["0.0.0.0/0"]
to_port = 0 }
protocol = "-1" }
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