Skip to content

Commit 592e7f0

Browse files
author
amauryborgesouza
committed
new files
1 parent 8dd8296 commit 592e7f0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

securityGroup.tf

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
resource "aws_security_group" "allow_ssh" {
2+
name = "allow_ssh"
3+
ingress {
4+
from_port = 22
5+
to_port = 22
6+
protocol = "tcp"
7+
cidr_blocks = ["0.0.0.0/0"]
8+
}
9+
egress {
10+
from_port = 0
11+
to_port = 0
12+
protocol = -1
13+
cidr_blocks = ["0.0.0.0/0"]
14+
}
15+
}

0 commit comments

Comments
 (0)