hcloud_ssh_key

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

Read these from the resource's refAttr:

  • fingerprint
  • id
Example
hcloud_ssh_key {
  name = "ssh_key";
  public_key = …;  # required
}

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