cloudscale_interfaceNivis 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_uuidrouter_uuid
Optional arguments
id(defaults tonull)addresses(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
mac_addressnetwork_hrefnetwork_nametype
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.