Add Load Balancer Service
hetzner_add_lb_serviceAdd a port listener with forwarding rules to a Hetzner load balancer to define traffic routing and health checks.
Instructions
Add a service (port listener with forwarding rules) to a load balancer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Resource ID | |
| http | No | HTTP-specific service settings | |
| protocol | Yes | Service protocol: tcp, http, or https | |
| listen_port | Yes | Port the load balancer listens on | |
| health_check | No | Health check configuration | |
| proxyprotocol | No | Enable PROXY protocol | |
| destination_port | Yes | Port traffic is forwarded to |