Skip to content

Commit c97fb4a

Browse files
committed
Allow taurus AD private instance access to broker
1 parent ed014a7 commit c97fb4a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

resources/terraform/auto-drive/broker.tf

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,24 @@ 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+
126144
egress {
127145
from_port = 0
128146
to_port = 0

0 commit comments

Comments
 (0)