I wanted to register an external service in the Consul catalog, using the "consul_service" resource in Terraform. My service is behind AWS ALB, which based on the Host header passes the request to the proper (my) service. My service listens on port 443.
I want to use "consul-esm" to have active health checks, but I cannot provide the "tls_server_name" parameter in the health check stanza, because it is not supported by Terraform, while it is by Consul. This means the TLS certificate is checked against my ALB address and I cannot override it.
Is there a plan to add this "tls_server_name" parameter to the "check" stanza?
Thanks
Consul Provider Version:
2.20.0
Terraform Version
1.6.6
Hi there,
I wanted to register an external service in the Consul catalog, using the "consul_service" resource in Terraform. My service is behind AWS ALB, which based on the Host header passes the request to the proper (my) service. My service listens on port 443.
I want to use "consul-esm" to have active health checks, but I cannot provide the "tls_server_name" parameter in the health check stanza, because it is not supported by Terraform, while it is by Consul. This means the TLS certificate is checked against my ALB address and I cannot override it.
Is there a plan to add this "tls_server_name" parameter to the "check" stanza?
Thanks
Consul Provider Version: 2.20.0 Terraform Version 1.6.6
Affected Resource