upcloud_gateway_connection_tunnelNivis Nix constructor for the upcloud_gateway_connection_tunnel resource (provider upcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
connection_id,
local_address_name,
remote_address,
id ? null,
cfg_name ? null,
ipsec_auth_psk ? null,
ipsec_properties ? null,
overrides ? {}
}Required arguments
connection_idlocal_address_nameremote_address
Optional arguments
id(defaults tonull)cfg_name(defaults tonull)ipsec_auth_psk(defaults tonull)ipsec_properties(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
operational_stateuuid
Example
upcloud_gateway_connection_tunnel {
name = "gateway_connection_tunnel";
connection_id = …; # required
local_address_name = …; # required
remote_address = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.