Skip to content

Commit

Permalink
feat: add SSH ingress rule to security group for console access (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gezi-lzq authored Dec 13, 2024
1 parent fde0732 commit 265d924
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions aws.tf
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,13 @@ resource "aws_security_group" "automq_byoc_console_sg" {
cidr_blocks = [var.automq_byoc_env_console_cidr]
}

ingress {
from_port = 22
to_port = 22
protocol = "tcp"
cidr_blocks = [var.automq_byoc_env_console_cidr]
}

egress {
from_port = 0
to_port = 0
Expand Down

0 comments on commit 265d924

Please sign in to comment.