aviatrix_site2cloudNivis Nix constructor for the aviatrix_site2cloud resource (provider aviatrix). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
connection_name,
connection_type,
primary_cloud_gateway_name,
remote_gateway_ip,
remote_gateway_type,
tunnel_type,
vpc_id,
auth_type ? null,
backup_gateway_name ? null,
backup_local_tunnel_ip ? null,
backup_pre_shared_key ? null,
backup_remote_gateway_ip ? null,
backup_remote_gateway_latitude ? null,
backup_remote_gateway_longitude ? null,
backup_remote_identifier ? null,
backup_remote_tunnel_ip ? null,
ca_cert_tag_name ? null,
custom_algorithms ? null,
custom_mapped ? null,
enable_active_active ? null,
enable_dead_peer_detection ? null,
enable_event_triggered_ha ? null,
enable_ikev2 ? null,
enable_single_ip_ha ? null,
forward_traffic_to_transit ? null,
ha_enabled ? null,
id ? null,
local_destination_real_cidrs ? null,
local_destination_virtual_cidrs ? null,
local_source_real_cidrs ? null,
local_source_virtual_cidrs ? null,
local_subnet_cidr ? null,
local_subnet_virtual ? null,
local_tunnel_ip ? null,
phase1_local_identifier ? null,
phase1_remote_identifier ? null,
phase_1_authentication ? null,
phase_1_dh_groups ? null,
phase_1_encryption ? null,
phase_2_authentication ? null,
phase_2_dh_groups ? null,
phase_2_encryption ? null,
pre_shared_key ? null,
private_route_encryption ? null,
proxy_id_enabled ? null,
remote_destination_real_cidrs ? null,
remote_destination_virtual_cidrs ? null,
remote_gateway_latitude ? null,
remote_gateway_longitude ? null,
remote_identifier ? null,
remote_source_real_cidrs ? null,
remote_source_virtual_cidrs ? null,
remote_subnet_cidr ? null,
remote_subnet_virtual ? null,
remote_tunnel_ip ? null,
route_table_list ? null,
ssl_server_pool ? null,
overrides ? {}
}Required arguments
connection_nameconnection_typeprimary_cloud_gateway_nameremote_gateway_ipremote_gateway_typetunnel_typevpc_id
Optional arguments
auth_type(defaults tonull)backup_gateway_name(defaults tonull)backup_local_tunnel_ip(defaults tonull)backup_pre_shared_key(defaults tonull)backup_remote_gateway_ip(defaults tonull)backup_remote_gateway_latitude(defaults tonull)backup_remote_gateway_longitude(defaults tonull)backup_remote_identifier(defaults tonull)backup_remote_tunnel_ip(defaults tonull)ca_cert_tag_name(defaults tonull)custom_algorithms(defaults tonull)custom_mapped(defaults tonull)enable_active_active(defaults tonull)enable_dead_peer_detection(defaults tonull)enable_event_triggered_ha(defaults tonull)enable_ikev2(defaults tonull)enable_single_ip_ha(defaults tonull)forward_traffic_to_transit(defaults tonull)ha_enabled(defaults tonull)id(defaults tonull)local_destination_real_cidrs(defaults tonull)local_destination_virtual_cidrs(defaults tonull)local_source_real_cidrs(defaults tonull)local_source_virtual_cidrs(defaults tonull)local_subnet_cidr(defaults tonull)local_subnet_virtual(defaults tonull)local_tunnel_ip(defaults tonull)phase1_local_identifier(defaults tonull)phase1_remote_identifier(defaults tonull)phase_1_authentication(defaults tonull)phase_1_dh_groups(defaults tonull)phase_1_encryption(defaults tonull)phase_2_authentication(defaults tonull)phase_2_dh_groups(defaults tonull)phase_2_encryption(defaults tonull)pre_shared_key(defaults tonull)private_route_encryption(defaults tonull)proxy_id_enabled(defaults tonull)remote_destination_real_cidrs(defaults tonull)remote_destination_virtual_cidrs(defaults tonull)remote_gateway_latitude(defaults tonull)remote_gateway_longitude(defaults tonull)remote_identifier(defaults tonull)remote_source_real_cidrs(defaults tonull)remote_source_virtual_cidrs(defaults tonull)remote_subnet_cidr(defaults tonull)remote_subnet_virtual(defaults tonull)remote_tunnel_ip(defaults tonull)route_table_list(defaults tonull)ssl_server_pool(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
aviatrix_site2cloud {
name = "site2cloud";
connection_name = …; # required
connection_type = …; # required
primary_cloud_gateway_name = …; # required
remote_gateway_ip = …; # required
remote_gateway_type = …; # required
tunnel_type = …; # required
vpc_id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.