stackit_vpn_connectionNivis Nix constructor for the stackit_vpn_connection 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,
display_name,
gateway_id,
project_id,
tunnel1,
tunnel2,
enabled ? null,
labels ? null,
local_subnets ? null,
region ? null,
remote_subnets ? null,
static_routes ? null,
overrides ? {}
}Required arguments
display_namegateway_idproject_idtunnel1tunnel2
Optional arguments
enabled(defaults tonull)labels(defaults tonull)local_subnets(defaults tonull)region(defaults tonull)remote_subnets(defaults tonull)static_routes(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
connection_idid
Example
stackit_vpn_connection {
name = "vpn_connection";
display_name = …; # required
gateway_id = …; # required
project_id = …; # required
tunnel1 = …; # required
tunnel2 = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.