hcloud_load_balancer

Nivis Nix constructor for the hcloud_load_balancer resource (provider hcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  load_balancer_type,
  delete_protection ? null,
  id ? null,
  ipv4_id ? null,
  ipv6_id ? null,
  labels ? null,
  location ? null,
  cfg_name ? null,
  network_zone ? null,
  algorithm ? null,
  target ? null,
  overrides ? {}
}
Required arguments
  • load_balancer_type
Optional arguments
  • delete_protection (defaults to null)
  • id (defaults to null)
  • ipv4_id (defaults to null)
  • ipv6_id (defaults to null)
  • labels (defaults to null)
  • location (defaults to null)
  • cfg_name (defaults to null)
  • network_zone (defaults to null)
  • algorithm (defaults to null)
  • target (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • ipv4
  • ipv6
  • network_id
  • network_ip
Example
hcloud_load_balancer {
  name = "load_balancer";
  load_balancer_type = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.