Skip to content

Commit c71ffbc

Browse files
committed
feat: 22 port open
1 parent dcb7cb9 commit c71ffbc

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

infra/main.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,14 @@ resource "aws_security_group" "sg_1" {
158158
cidr_blocks = ["0.0.0.0/0"]
159159
}
160160

161+
ingress {
162+
description = "SSH"
163+
from_port = 22
164+
to_port = 22
165+
protocol = "tcp"
166+
cidr_blocks = ["0.0.0.0/0"]
167+
}
168+
161169
egress {
162170
from_port = 0
163171
to_port = 0

0 commit comments

Comments
 (0)