alicloud_vpn_connectionNivis Nix constructor for the alicloud_vpn_connection resource (provider alicloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
local_subnet,
remote_subnet,
vpn_gateway_id,
auto_config_route ? null,
customer_gateway_id ? null,
effect_immediately ? null,
enable_dpd ? null,
enable_nat_traversal ? null,
enable_tunnels_bgp ? null,
id ? null,
cfg_name ? null,
network_type ? null,
tags ? null,
vpn_connection_name ? null,
bgp_config ? null,
health_check_config ? null,
ike_config ? null,
ipsec_config ? null,
timeouts ? null,
tunnel_options_specification ? null,
overrides ? {}
}Required arguments
local_subnetremote_subnetvpn_gateway_id
Optional arguments
auto_config_route(defaults tonull)customer_gateway_id(defaults tonull)effect_immediately(defaults tonull)enable_dpd(defaults tonull)enable_nat_traversal(defaults tonull)enable_tunnels_bgp(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)network_type(defaults tonull)tags(defaults tonull)vpn_connection_name(defaults tonull)bgp_config(defaults tonull)health_check_config(defaults tonull)ike_config(defaults tonull)ipsec_config(defaults tonull)timeouts(defaults tonull)tunnel_options_specification(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
create_timeresource_group_idstatus
Example
alicloud_vpn_connection {
name = "vpn_connection";
local_subnet = …; # required
remote_subnet = …; # required
vpn_gateway_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.