diff --git a/resources/terraform/auto-drive/broker.tf b/resources/terraform/auto-drive/broker.tf index fcbe0fae..dcfd0d1c 100644 --- a/resources/terraform/auto-drive/broker.tf +++ b/resources/terraform/auto-drive/broker.tf @@ -123,6 +123,24 @@ resource "aws_security_group" "rabbitmq_broker_primary" { security_groups = [aws_security_group.auto_drive_sg.id] # Allow traffic from EC2 server's security group } + # Allow from specific external IP address temporarily for testing purposes + ingress { + from_port = 5671 + to_port = 5671 + protocol = "tcp" + cidr_blocks = ["136.243.147.181/32"] + description = "Allow RabbitMQ access from external IP" + } + + # Allow from specific external IP address temporarily for testing purposes + ingress { + from_port = 5672 + to_port = 5672 + protocol = "tcp" + cidr_blocks = ["136.243.147.181/32"] + description = "Allow RabbitMQ access from external IP" + } + egress { from_port = 0 to_port = 0 diff --git a/resources/terraform/auto-drive/variables.tf b/resources/terraform/auto-drive/variables.tf index b00df54b..3b9238aa 100644 --- a/resources/terraform/auto-drive/variables.tf +++ b/resources/terraform/auto-drive/variables.tf @@ -58,7 +58,7 @@ variable "multi_network_gateway_instance_type" { variable "gateway_root_volume_size" { description = "Size of the root volume (in GB) for gateway instances." type = number - default = 150 + default = 250 } variable "iam_role_policy_arn" {