telia-oss / terraform-aws-ecs-fargate

Terraform module which creates Fargate ECS resources on AWS.
https://registry.terraform.io/modules/telia-oss/ecs-fargate/aws
MIT License
82 stars 75 forks source link

add config to select aws logging driver mode and buffer size #94

Open vitpau opened 1 week ago

vitpau commented 1 week ago

Ability to select AWSLogs log driver mode to "non-blocking" and thus prevent applications from termination when logs cannot be immediately sent to Cloudwatch as per https://aws.amazon.com/blogs/containers/preventing-log-loss-with-non-blocking-mode-in-the-awslogs-container-log-driver/ More details from Docker docs: https://docs.docker.com/engine/logging/configure/#configure-the-delivery-mode-of-log-messages-from-container-to-log-driver

vitpau commented 5 days ago

Can someone pls review this PR?