digitalocean_ssh_keyNivis 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 tonull)cfg_name(defaults tonull)timeouts(defaults tonull)
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.