hcloud_rdns

Nivis Nix constructor for the hcloud_rdns 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,
  dns_ptr,
  ip_address,
  floating_ip_id ? null,
  load_balancer_id ? null,
  primary_ip_id ? null,
  server_id ? null,
  overrides ? {}
}
Required arguments
  • dns_ptr
  • ip_address
Optional arguments
  • floating_ip_id (defaults to null)
  • load_balancer_id (defaults to null)
  • primary_ip_id (defaults to null)
  • server_id (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • id
Example
hcloud_rdns {
  name = "rdns";
  dns_ptr = …;  # required
  ip_address = …;  # required
}

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