tencentcloud_vpn_connection

Nivis Nix constructor for the tencentcloud_vpn_connection resource (provider tencentcloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  customer_gateway_id,
  pre_share_key,
  vpn_gateway_id,
  dpd_action ? null,
  dpd_enable ? null,
  dpd_timeout ? null,
  enable_health_check ? null,
  health_check_local_ip ? null,
  health_check_remote_ip ? null,
  id ? null,
  ike_dh_group_name ? null,
  ike_exchange_mode ? null,
  ike_local_address ? null,
  ike_local_fqdn_name ? null,
  ike_local_identity ? null,
  ike_proto_authen_algorithm ? null,
  ike_proto_encry_algorithm ? null,
  ike_remote_address ? null,
  ike_remote_fqdn_name ? null,
  ike_remote_identity ? null,
  ike_sa_lifetime_seconds ? null,
  ike_version ? null,
  ipsec_encrypt_algorithm ? null,
  ipsec_integrity_algorithm ? null,
  ipsec_pfs_dh_group ? null,
  ipsec_sa_lifetime_seconds ? null,
  ipsec_sa_lifetime_traffic ? null,
  cfg_name ? null,
  negotiation_type ? null,
  route_type ? null,
  tags ? null,
  vpc_id ? null,
  bgp_config ? null,
  health_check_config ? null,
  security_group_policy ? null,
  overrides ? {}
}
Required arguments
  • customer_gateway_id
  • pre_share_key
  • vpn_gateway_id
Optional arguments
  • dpd_action (defaults to null)
  • dpd_enable (defaults to null)
  • dpd_timeout (defaults to null)
  • enable_health_check (defaults to null)
  • health_check_local_ip (defaults to null)
  • health_check_remote_ip (defaults to null)
  • id (defaults to null)
  • ike_dh_group_name (defaults to null)
  • ike_exchange_mode (defaults to null)
  • ike_local_address (defaults to null)
  • ike_local_fqdn_name (defaults to null)
  • ike_local_identity (defaults to null)
  • ike_proto_authen_algorithm (defaults to null)
  • ike_proto_encry_algorithm (defaults to null)
  • ike_remote_address (defaults to null)
  • ike_remote_fqdn_name (defaults to null)
  • ike_remote_identity (defaults to null)
  • ike_sa_lifetime_seconds (defaults to null)
  • ike_version (defaults to null)
  • ipsec_encrypt_algorithm (defaults to null)
  • ipsec_integrity_algorithm (defaults to null)
  • ipsec_pfs_dh_group (defaults to null)
  • ipsec_sa_lifetime_seconds (defaults to null)
  • ipsec_sa_lifetime_traffic (defaults to null)
  • cfg_name (defaults to null)
  • negotiation_type (defaults to null)
  • route_type (defaults to null)
  • tags (defaults to null)
  • vpc_id (defaults to null)
  • bgp_config (defaults to null)
  • health_check_config (defaults to null)
  • security_group_policy (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • create_time
  • encrypt_proto
  • is_ccn_type
  • net_status
  • state
  • vpn_proto
Example
tencentcloud_vpn_connection {
  name = "vpn_connection";
  customer_gateway_id = …;  # required
  pre_share_key = …;  # required
  vpn_gateway_id = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.