The current health check endpoint always returns a 200 response, even if there are no known hosts. This change returns a 400 response when no hosts are found so that the health checks can be properly responded to. Repeated health check failures will now cause ECS to trigger a new task to launch and kick off the node discovery process again.
The current health check endpoint always returns a 200 response, even if there are no known hosts. This change returns a 400 response when no hosts are found so that the health checks can be properly responded to. Repeated health check failures will now cause ECS to trigger a new task to launch and kick off the node discovery process again.
Tested locally.