Skip to content

Commit c6476f9

Browse files
committed
remove external IP access for security
1 parent 4dd73ef commit c6476f9

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

resources/terraform/auto-drive/broker.tf

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -123,24 +123,6 @@ resource "aws_security_group" "rabbitmq_broker_primary" {
123123
security_groups = [aws_security_group.auto_drive_sg.id] # Allow traffic from EC2 server's security group
124124
}
125125

126-
# Allow from specific external IP address temporarily for testing purposes
127-
ingress {
128-
from_port = 5671
129-
to_port = 5671
130-
protocol = "tcp"
131-
cidr_blocks = ["136.243.147.181/32"]
132-
description = "Allow RabbitMQ access from external IP"
133-
}
134-
135-
# Allow from specific external IP address temporarily for testing purposes
136-
ingress {
137-
from_port = 5672
138-
to_port = 5672
139-
protocol = "tcp"
140-
cidr_blocks = ["136.243.147.181/32"]
141-
description = "Allow RabbitMQ access from external IP"
142-
}
143-
144126
egress {
145127
from_port = 0
146128
to_port = 0

0 commit comments

Comments
 (0)