Skip to content

Commit

Permalink
Fix rabbitmq url 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jonilsonds9 committed Feb 21, 2024
1 parent 987155e commit 6321b86
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions infra/ecs_clients.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ resource "aws_ecs_task_definition" "clients" {
{ "name": "DB_SYNCHRONIZE", "value": "true" },
{ "name": "DB_SSL", "value": "true" },
{ "name": "NO_COLOR", "value": "true" },
{ "name": "QUEUE_HOST", "value": "${aws_mq_broker.rabbitmq.instances.0.endpoints.0}" },
{ "name": "QUEUE_PORT", "value": "5672" },
{ "name": "QUEUE_URI", "value": "${aws_mq_broker.rabbitmq.instances.0.endpoints.0}" },
{ "name": "QUEUE_USER", "value": "${var.rabbitmq_username}" },
{ "name": "QUEUE_PASSWORD", "value": "${var.rabbitmq_password}" },
]
Expand Down
3 changes: 1 addition & 2 deletions infra/ecs_notification.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ resource "aws_ecs_task_definition" "notification" {
]
environment = [
{ "name": "NODE_ENV", "value": "production" },
{ "name": "QUEUE_HOST", "value": "${aws_mq_broker.rabbitmq.instances.0.endpoints.0}" },
{ "name": "QUEUE_PORT", "value": "5672" },
{ "name": "QUEUE_URI", "value": "${aws_mq_broker.rabbitmq.instances.0.endpoints.0}" },
{ "name": "QUEUE_USER", "value": "${var.rabbitmq_username}" },
{ "name": "QUEUE_PASSWORD", "value": "${var.rabbitmq_password}" },
{ "name": "NO_COLOR", "value": "true" },
Expand Down
3 changes: 1 addition & 2 deletions infra/ecs_order.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ resource "aws_ecs_task_definition" "order" {
{ "name": "NO_COLOR", "value": "true" },
{ "name": "CLIENTS_SERVICE_URL", "value": "http://clients_service:3001" },
{ "name": "PAYMENTS_SERVICE_URL", "value": "http://mock_payment:3003" },
{ "name": "QUEUE_HOST", "value": "${aws_mq_broker.rabbitmq.instances.0.endpoints.0}" },
{ "name": "QUEUE_PORT", "value": "5672" },
{ "name": "QUEUE_URI", "value": "${aws_mq_broker.rabbitmq.instances.0.endpoints.0}" },
{ "name": "QUEUE_USER", "value": "${var.rabbitmq_username}" },
{ "name": "QUEUE_PASSWORD", "value": "${var.rabbitmq_password}" },
]
Expand Down
3 changes: 1 addition & 2 deletions infra/ecs_production.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ resource "aws_ecs_task_definition" "production" {
{ "name": "DB_SSL", "value": "true" },
{ "name": "NO_COLOR", "value": "true" },
{ "name": "ORDER_SERVICE_URL", "value": "http://order_service:3002" },
{ "name": "QUEUE_HOST", "value": "${aws_mq_broker.rabbitmq.instances.0.endpoints.0}" },
{ "name": "QUEUE_PORT", "value": "5672" },
{ "name": "QUEUE_URI", "value": "${aws_mq_broker.rabbitmq.instances.0.endpoints.0}" },
{ "name": "QUEUE_USER", "value": "${var.rabbitmq_username}" },
{ "name": "QUEUE_PASSWORD", "value": "${var.rabbitmq_password}" },
]
Expand Down

0 comments on commit 6321b86

Please sign in to comment.