File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
resources/terraform/auto-drive Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments