cloudscale_interface

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

Constructor
{
  name,
  network_uuid,
  router_uuid,
  id ? null,
  addresses ? null,
  overrides ? {}
}
Required arguments
  • network_uuid
  • router_uuid
Optional arguments
  • id (defaults to null)
  • addresses (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • mac_address
  • network_href
  • network_name
  • type
Example
cloudscale_interface {
  name = "interface";
  network_uuid = …;  # required
  router_uuid = …;  # required
}

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