hcloud_zone

Nivis Nix constructor for the hcloud_zone 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,
  mode,
  delete_protection ? null,
  labels ? null,
  cfg_name ? null,
  primary_nameservers ? null,
  ttl ? null,
  overrides ? {}
}
Required arguments
  • mode
Optional arguments
  • delete_protection (defaults to null)
  • labels (defaults to null)
  • cfg_name (defaults to null)
  • primary_nameservers (defaults to null)
  • ttl (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • authoritative_nameservers
  • id
  • registrar
Example
hcloud_zone {
  name = "zone";
  mode = …;  # required
}

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