digitalocean_floating_ip

Nivis Nix constructor for the digitalocean_floating_ip 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,
  region,
  droplet_id ? null,
  id ? null,
  ip_address ? null,
  overrides ? {}
}
Required arguments
  • region
Optional arguments
  • droplet_id (defaults to null)
  • id (defaults to null)
  • ip_address (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • urn
Example
digitalocean_floating_ip {
  name = "floating_ip";
  region = …;  # required
}

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