You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
stackit_loadbalancer: support HTTP health checks, alt_port and labels #1825
The Network Load Balancer API supports HTTP health checks, an alternative health check port and labels, but stackit_loadbalancer doesn't expose them:
targetPools[].activeHealthCheck.altPort and targetPools[].activeHealthCheck.httpHealthChecks (path, okStatuses) — the provider only exposes healthy_threshold, interval, interval_jitter, timeout and unhealthy_threshold, so every NLB health check is a plain TCP check on the target port.
labels on the load balancer (create and update payload).
All of these are already available in stackit-sdk-go/services/loadbalancer/v2api (ActiveHealthCheck.AltPort, ActiveHealthCheck.HttpHealthChecks, CreateLoadBalancerPayload.Labels / UpdateLoadBalancerPayload.Labels), and stackit_application_load_balancer already supports the same health check options (alt_port, http_health_checks.path, http_health_checks.ok_status) and labels.
Proposed solution
Add the same attributes to stackit_loadbalancer (resource and data source), following the ALB implementation:
Activity