We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ping
1 parent c5796c0 commit b01d134Copy full SHA for b01d134
clickhouse/nlb.tf
@@ -71,7 +71,7 @@ resource "aws_lb_target_group" "clickhouse_http_nlb_target_group" {
71
count = var.enable_nlb ? 1 : 0
72
name = "${substr(var.cluster_name, 0, 20)}-ch-http-tg"
73
port = var.enable_encryption ? var.https_port : var.http_port
74
- protocol = "TCP"
+ protocol = var.enable_encryption ? "TLS" : "TCP"
75
vpc_id = module.vpc.vpc_id
76
target_type = "instance"
77
0 commit comments