alicloud_vpn_connection

Nivis 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_subnet
  • remote_subnet
  • vpn_gateway_id
Optional arguments
  • auto_config_route (defaults to null)
  • customer_gateway_id (defaults to null)
  • effect_immediately (defaults to null)
  • enable_dpd (defaults to null)
  • enable_nat_traversal (defaults to null)
  • enable_tunnels_bgp (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • network_type (defaults to null)
  • tags (defaults to null)
  • vpn_connection_name (defaults to null)
  • bgp_config (defaults to null)
  • health_check_config (defaults to null)
  • ike_config (defaults to null)
  • ipsec_config (defaults to null)
  • timeouts (defaults to null)
  • tunnel_options_specification (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • create_time
  • resource_group_id
  • status
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.