stackit_network_interface

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

Constructor
{
  name,
  network_id,
  project_id,
  allowed_addresses ? null,
  ipv4 ? null,
  labels ? null,
  cfg_name ? null,
  region ? null,
  security ? null,
  security_group_ids ? null,
  overrides ? {}
}
Required arguments
  • network_id
  • project_id
Optional arguments
  • allowed_addresses (defaults to null)
  • ipv4 (defaults to null)
  • labels (defaults to null)
  • cfg_name (defaults to null)
  • region (defaults to null)
  • security (defaults to null)
  • security_group_ids (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • device
  • id
  • mac
  • network_interface_id
  • type
Example
stackit_network_interface {
  name = "network_interface";
  network_id = …;  # required
  project_id = …;  # required
}

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