Skip to content

Commit 265d924

Browse files
authored
feat: add SSH ingress rule to security group for console access (#25)
1 parent fde0732 commit 265d924

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

aws.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,13 @@ resource "aws_security_group" "automq_byoc_console_sg" {
172172
cidr_blocks = [var.automq_byoc_env_console_cidr]
173173
}
174174

175+
ingress {
176+
from_port = 22
177+
to_port = 22
178+
protocol = "tcp"
179+
cidr_blocks = [var.automq_byoc_env_console_cidr]
180+
}
181+
175182
egress {
176183
from_port = 0
177184
to_port = 0

0 commit comments

Comments
 (0)