Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b01d134

Browse files
committedMar 4, 2025··
fix: Allow ping endpoint to be reached
Since the backend is using self-signed certificates, we also need ot use `TLS` (as we do for the 9440 target group)
1 parent c5796c0 commit b01d134

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎clickhouse/nlb.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ resource "aws_lb_target_group" "clickhouse_http_nlb_target_group" {
7171
count = var.enable_nlb ? 1 : 0
7272
name = "${substr(var.cluster_name, 0, 20)}-ch-http-tg"
7373
port = var.enable_encryption ? var.https_port : var.http_port
74-
protocol = "TCP"
74+
protocol = var.enable_encryption ? "TLS" : "TCP"
7575
vpc_id = module.vpc.vpc_id
7676
target_type = "instance"
7777

0 commit comments

Comments
 (0)