digitalocean_ssh_key

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

Constructor
{
  name,
  public_key,
  id ? null,
  cfg_name ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • public_key
Optional arguments
  • id (defaults to null)
  • cfg_name (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • fingerprint
Example
digitalocean_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.