hcloud_create_load_balancer
Creates a Hetzner Cloud load balancer with specified name, type, location, network, targets, and services to distribute traffic across servers.
Instructions
Create a Load Balancer
Creates a Load Balancer.
Operation specific errors
Status | Code | Description |
|
| The source port you are trying to add is already in use |
|
| The specified Primary IP has the wrong IP version |
|
| The IP is not owned by the owner of the project of the Load Balancer |
|
| The Load Balancer is not attached to a network |
|
| The server you are trying to add as a target is not attached to the same network as the Load Balancer |
|
| The server that you are trying to add as a public target does not have a public IPv4 address |
|
| The Load Balancer target you are trying to define is already defined |
|
| The specified Primary IP is already assigned to a resource |
|
| The specified Primary IP is blocked |
|
| The specified Primary IP is bound to a different Location than the Load Balancer |
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| wait | No | Poll the resulting action until success/error or timeout. |