Skip to content

Commit e6a5abd

Browse files
committed
Infra: 인바운드 규칙 추가
- 81포트(NPM) 허용
1 parent 2dae7d5 commit e6a5abd

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

infra/terraform/main.tf

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,15 @@ resource "aws_security_group" "sg_1" {
157157
cidr_blocks = ["0.0.0.0/0"]
158158
}
159159

160-
# 모든 프로토콜
160+
# NPM (port 81)
161+
ingress {
162+
from_port = 81
163+
to_port = 81
164+
protocol = "tcp"
165+
cidr_blocks = ["0.0.0.0/0"]
166+
}
167+
168+
# 아웃바운드 모든 프로토콜
161169
egress {
162170
from_port = 0
163171
to_port = 0

0 commit comments

Comments
 (0)