Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing "tls_server_name" parameter in consul_service resource #391

Open
marrcow opened this issue Dec 20, 2023 · 1 comment
Open

Missing "tls_server_name" parameter in consul_service resource #391

marrcow opened this issue Dec 20, 2023 · 1 comment

Comments

@marrcow
Copy link

marrcow commented Dec 20, 2023

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

  • consul_service
@bwieckow
Copy link

We are facing the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants