stackit_networkNivis 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 tonull)ipv4_gateway(defaults tonull)ipv4_nameservers(defaults tonull)ipv4_prefix(defaults tonull)ipv4_prefix_length(defaults tonull)ipv4_vpc_network_range_id(defaults tonull)ipv6_gateway(defaults tonull)ipv6_nameservers(defaults tonull)ipv6_prefix(defaults tonull)ipv6_prefix_length(defaults tonull)ipv6_vpc_network_range_id(defaults tonull)labels(defaults tonull)cfg_name(defaults tonull)no_ipv4_gateway(defaults tonull)no_ipv6_gateway(defaults tonull)region(defaults tonull)routed(defaults tonull)routing_table_id(defaults tonull)vpc_id(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
idipv4_prefixesipv6_prefixesnetwork_idpublic_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.