Skip to content

Commit 4dd73ef

Browse files
Allow taurus AD private instance access to broker (#438)
* increase multi-network gateway default disk size * Allow taurus AD private instance access to broker
1 parent c446176 commit 4dd73ef

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
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

resources/terraform/auto-drive/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ variable "multi_network_gateway_instance_type" {
5858
variable "gateway_root_volume_size" {
5959
description = "Size of the root volume (in GB) for gateway instances."
6060
type = number
61-
default = 150
61+
default = 250
6262
}
6363

6464
variable "iam_role_policy_arn" {

0 commit comments

Comments
 (0)