codequest-eu / terraform-modules

Terraform modules commonly used in our projects
5 stars 4 forks source link

fix(ecs/host_group): automatic security updates breaking ECS tasks #164

Closed mskrajnowski closed 2 months ago

mskrajnowski commented 3 months ago

ecs/host_group sets up automatic security updates using yum-cron, which might require a restart of the docker daemon. To ensure this doesn't cause downtime it was enabling docker live-restore, however, we found that this doesn't always work and containers die while ECS thinks they are alive.

This PR disables live-restore by default and allows passing a custom docker config if needed.