Add a health endpoint
Closed this issue · 0 comments
wilkermichael commented
Description
CTS should serve a health
endpoint which can be used to determine the health of the serving CTS instance.
Use Cases
External clients, like Consul, can use the health
endpoint to determine the health of the CTS instance
Additional context
The endpoint returns a successful response if Consul-Terraform-Sync (CTS) is available and running. Requests to this endpoint are not logged, which makes it suitable for health checks that constantly poll CTS.