You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"fortios_system_clustersync" {
source="./modules/fortios/r/fortios_system_clustersync"# dynamic_sort_subtable - (optional) is a type of stringdynamic_sort_subtable=null# hb_interval - (optional) is a type of numberhb_interval=null# hb_lost_threshold - (optional) is a type of numberhb_lost_threshold=null# ipsec_tunnel_sync - (optional) is a type of stringipsec_tunnel_sync=null# peerip - (optional) is a type of stringpeerip=null# peervd - (optional) is a type of stringpeervd=null# slave_add_ike_routes - (optional) is a type of stringslave_add_ike_routes=null# sync_id - (optional) is a type of numbersync_id=nulldown_intfs_before_sess_sync=[{
name =null
}]
session_sync_filter=[{
custom_service = [{
dst_port_range =null
id =null
src_port_range =null
}]
dstaddr =null
dstaddr6 =null
dstintf =null
srcaddr =null
srcaddr6 =null
srcintf =null
}]
syncvd=[{
name =null
}]
}
resource"fortios_system_clustersync""this" {
# dynamic_sort_subtable - (optional) is a type of stringdynamic_sort_subtable=var.dynamic_sort_subtable# hb_interval - (optional) is a type of numberhb_interval=var.hb_interval# hb_lost_threshold - (optional) is a type of numberhb_lost_threshold=var.hb_lost_threshold# ipsec_tunnel_sync - (optional) is a type of stringipsec_tunnel_sync=var.ipsec_tunnel_sync# peerip - (optional) is a type of stringpeerip=var.peerip# peervd - (optional) is a type of stringpeervd=var.peervd# slave_add_ike_routes - (optional) is a type of stringslave_add_ike_routes=var.slave_add_ike_routes# sync_id - (optional) is a type of numbersync_id=var.sync_iddynamic"down_intfs_before_sess_sync" {
for_each=var.down_intfs_before_sess_synccontent {
# name - (optional) is a type of stringname=down_intfs_before_sess_sync.value["name"]
}
}
dynamic"session_sync_filter" {
for_each=var.session_sync_filtercontent {
# dstaddr - (optional) is a type of stringdstaddr=session_sync_filter.value["dstaddr"]
# dstaddr6 - (optional) is a type of stringdstaddr6=session_sync_filter.value["dstaddr6"]
# dstintf - (optional) is a type of stringdstintf=session_sync_filter.value["dstintf"]
# srcaddr - (optional) is a type of stringsrcaddr=session_sync_filter.value["srcaddr"]
# srcaddr6 - (optional) is a type of stringsrcaddr6=session_sync_filter.value["srcaddr6"]
# srcintf - (optional) is a type of stringsrcintf=session_sync_filter.value["srcintf"]
dynamic"custom_service" {
for_each=session_sync_filter.value.custom_servicecontent {
# dst_port_range - (optional) is a type of stringdst_port_range=custom_service.value["dst_port_range"]
# id - (optional) is a type of numberid=custom_service.value["id"]
# src_port_range - (optional) is a type of stringsrc_port_range=custom_service.value["src_port_range"]
}
}
}
}
dynamic"syncvd" {
for_each=var.syncvdcontent {
# name - (optional) is a type of stringname=syncvd.value["name"]
}
}
}