Skip to content

Commit

Permalink
Merge pull request #1483 from ministryofjustice/MLPAB-2493-amazon-ecs…
Browse files Browse the repository at this point in the history
…-aws-logs-driver-in-blocking-mode

MLPAB-2493 - enable non-blocking mode for awslogs driver
  • Loading branch information
andrewpearce-digital authored Sep 12, 2024
2 parents e611634 + 7adaa0f commit b5d2d5b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions terraform/environment/region/modules/app/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,8 @@ locals {
awslogs-group = var.ecs_application_log_group_name,
awslogs-region = data.aws_region.current.name,
awslogs-stream-prefix = data.aws_default_tags.current.tags.environment-name
mode = "non-blocking"
max-buffer-size = "25m"
}
},
secrets = [
Expand Down Expand Up @@ -514,6 +516,8 @@ locals {
awslogs-group = var.ecs_application_log_group_name,
awslogs-region = data.aws_region.current.name,
awslogs-stream-prefix = "${data.aws_default_tags.current.tags.environment-name}.otel.app"
mode = "non-blocking"
max-buffer-size = "25m"
}
},
environment = []
Expand Down Expand Up @@ -546,6 +550,8 @@ locals {
awslogs-group = var.ecs_application_log_group_name,
awslogs-region = data.aws_region.current.name,
awslogs-stream-prefix = "${data.aws_default_tags.current.tags.environment-name}.otel.app"
mode = "non-blocking"
max-buffer-size = "25m"
}
},
environmentFiles = [],
Expand Down
2 changes: 2 additions & 0 deletions terraform/environment/region/modules/mock_onelogin/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ locals {
awslogs-group = var.ecs_application_log_group_name,
awslogs-region = data.aws_region.current.name,
awslogs-stream-prefix = data.aws_default_tags.current.tags.environment-name
mode = "non-blocking"
max-buffer-size = "25m"
}
},
environment = [
Expand Down
2 changes: 2 additions & 0 deletions terraform/environment/region/modules/mock_pay/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ locals {
awslogs-group = var.ecs_application_log_group_name,
awslogs-region = data.aws_region.current.name,
awslogs-stream-prefix = data.aws_default_tags.current.tags.environment-name
mode = "non-blocking"
max-buffer-size = "25m"
}
},
environment = [
Expand Down

0 comments on commit b5d2d5b

Please sign in to comment.