Skip to content

Commit c8f85cf

Browse files
enable RabbitMQ web management console (#429)
1 parent 30b9c6d commit c8f85cf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

resources/terraform/auto-drive/broker.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,14 @@ resource "aws_security_group" "rabbitmq_broker_primary" {
115115
security_groups = [aws_security_group.auto_drive_sg.id] # Allow traffic from EC2 server's security group
116116
}
117117

118+
# enable RabbitMQ web management console (only accessible from the VPC)
119+
ingress {
120+
from_port = 15671
121+
to_port = 15671
122+
protocol = "tcp"
123+
security_groups = [aws_security_group.auto_drive_sg.id] # Allow traffic from EC2 server's security group
124+
}
125+
118126
egress {
119127
from_port = 0
120128
to_port = 0

0 commit comments

Comments
 (0)