Create Load Balancer
hetzner_create_load_balancerCreate a new load balancer with specified type and location, and optionally add targets and services for traffic distribution.
Instructions
Create a new load balancer with the specified type, location, and optional targets and services.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the load balancer | |
| load_balancer_type | Yes | Load balancer type name or ID | |
| location | No | Location name (e.g. "fsn1"), mutually exclusive with network_zone | |
| network_zone | No | Network zone (e.g. "eu-central"), mutually exclusive with location | |
| algorithm | No | Load balancing algorithm | |
| targets | No | Array of targets | |
| services | No | Array of services | |
| labels | No | Labels as key-value pairs | |
| network | No | Network ID to attach to | |
| public_interface | No | Enable the public interface |