I am trying to understand is it possible to use Consul ESM HTTP health check to point to different host. In “curl world” it can be done something like that:
curl --connect-to example.service.consul:443:random_id.elb.us-west-2.amazonaws.com:443 https://example.service.consul
External applications behind this AWS LB expect HTTP connections with SNI “example.service.consul” in order to terminate TLS properly. example.service.consul can point to different external services(in this case different AWS LBs).