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_switchcontroller_trafficsniffer" {
source="./modules/fortios/r/fortios_switchcontroller_trafficsniffer"# dynamic_sort_subtable - (optional) is a type of stringdynamic_sort_subtable=null# erspan_ip - (optional) is a type of stringerspan_ip=null# mode - (optional) is a type of stringmode=nulltarget_ip=[{
description =null
ip =null
}]
target_mac=[{
description =null
mac =null
}]
target_port=[{
description =null
in_ports = [{
name =null
}]
out_ports = [{
name =null
}]
switch_id =null
}]
}
resource"fortios_switchcontroller_trafficsniffer""this" {
# dynamic_sort_subtable - (optional) is a type of stringdynamic_sort_subtable=var.dynamic_sort_subtable# erspan_ip - (optional) is a type of stringerspan_ip=var.erspan_ip# mode - (optional) is a type of stringmode=var.modedynamic"target_ip" {
for_each=var.target_ipcontent {
# description - (optional) is a type of stringdescription=target_ip.value["description"]
# ip - (optional) is a type of stringip=target_ip.value["ip"]
}
}
dynamic"target_mac" {
for_each=var.target_maccontent {
# description - (optional) is a type of stringdescription=target_mac.value["description"]
# mac - (optional) is a type of stringmac=target_mac.value["mac"]
}
}
dynamic"target_port" {
for_each=var.target_portcontent {
# description - (optional) is a type of stringdescription=target_port.value["description"]
# switch_id - (optional) is a type of stringswitch_id=target_port.value["switch_id"]
dynamic"in_ports" {
for_each=target_port.value.in_portscontent {
# name - (optional) is a type of stringname=in_ports.value["name"]
}
}
dynamic"out_ports" {
for_each=target_port.value.out_portscontent {
# name - (optional) is a type of stringname=out_ports.value["name"]
}
}
}
}
}