Terraform - agent ec2 security group 수정
This commit is contained in:
@@ -5,8 +5,8 @@ resource "aws_security_group" "dsk-agent-allow-security" {
|
|||||||
|
|
||||||
ingress {
|
ingress {
|
||||||
description = "Allow SSH traffic"
|
description = "Allow SSH traffic"
|
||||||
from_port = 22
|
from_port = 2222
|
||||||
to_port = 22
|
to_port = 2222
|
||||||
protocol = "tcp"
|
protocol = "tcp"
|
||||||
cidr_blocks = ["39.115.183.236/32"]
|
cidr_blocks = ["39.115.183.236/32"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user