stackit_vpn_connection

Nivis 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_name
  • gateway_id
  • project_id
  • tunnel1
  • tunnel2
Optional arguments
  • enabled (defaults to null)
  • labels (defaults to null)
  • local_subnets (defaults to null)
  • region (defaults to null)
  • remote_subnets (defaults to null)
  • static_routes (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • connection_id
  • id
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.