stackit_network

Nivis Nix constructor for the stackit_network 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,
  project_id,
  dhcp ? null,
  ipv4_gateway ? null,
  ipv4_nameservers ? null,
  ipv4_prefix ? null,
  ipv4_prefix_length ? null,
  ipv4_vpc_network_range_id ? null,
  ipv6_gateway ? null,
  ipv6_nameservers ? null,
  ipv6_prefix ? null,
  ipv6_prefix_length ? null,
  ipv6_vpc_network_range_id ? null,
  labels ? null,
  cfg_name ? null,
  no_ipv4_gateway ? null,
  no_ipv6_gateway ? null,
  region ? null,
  routed ? null,
  routing_table_id ? null,
  vpc_id ? null,
  overrides ? {}
}
Required arguments
  • project_id
Optional arguments
  • dhcp (defaults to null)
  • ipv4_gateway (defaults to null)
  • ipv4_nameservers (defaults to null)
  • ipv4_prefix (defaults to null)
  • ipv4_prefix_length (defaults to null)
  • ipv4_vpc_network_range_id (defaults to null)
  • ipv6_gateway (defaults to null)
  • ipv6_nameservers (defaults to null)
  • ipv6_prefix (defaults to null)
  • ipv6_prefix_length (defaults to null)
  • ipv6_vpc_network_range_id (defaults to null)
  • labels (defaults to null)
  • cfg_name (defaults to null)
  • no_ipv4_gateway (defaults to null)
  • no_ipv6_gateway (defaults to null)
  • region (defaults to null)
  • routed (defaults to null)
  • routing_table_id (defaults to null)
  • vpc_id (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • id
  • ipv4_prefixes
  • ipv6_prefixes
  • network_id
  • public_ip
Example
stackit_network {
  name = "network";
  project_id = …;  # required
}

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