Add Load Balancer Service
hetzner_add_lb_serviceAdd a service (port listener with forwarding rules) to a load balancer on Hetzner Cloud. Configure protocol, ports, 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 | |
| protocol | Yes | Service protocol: tcp, http, or https | |
| listen_port | Yes | Port the load balancer listens on | |
| destination_port | Yes | Port traffic is forwarded to | |
| proxyprotocol | No | Enable PROXY protocol | |
| health_check | No | Health check configuration | |
| http | No | HTTP-specific service settings |