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_extendercontroller_extender1" {
source="./modules/fortios/r/fortios_extendercontroller_extender1"# authorized - (required) is a type of stringauthorized=null# description - (optional) is a type of stringdescription=null# ext_name - (optional) is a type of stringext_name=null# fosid - (optional) is a type of stringfosid=null# login_password - (optional) is a type of stringlogin_password=null# name - (required) is a type of stringname=null# vdom - (optional) is a type of numbervdom=nullcontroller_report=[{
interval =null
signal_threshold =null
status =null
}]
modem1=[{
auto_switch = [{
dataplan =null
disconnect =null
disconnect_period =null
disconnect_threshold =null
signal =null
switch_back =null
switch_back_time =null
switch_back_timer =null
}]
conn_status =null
default_sim =null
gps =null
ifname =null
preferred_carrier =null
redundant_intf =null
redundant_mode =null
sim1_pin =null
sim1_pin_code =null
sim2_pin =null
sim2_pin_code =null
}]
modem2=[{
auto_switch = [{
dataplan =null
disconnect =null
disconnect_period =null
disconnect_threshold =null
signal =null
switch_back =null
switch_back_time =null
switch_back_timer =null
}]
conn_status =null
default_sim =null
gps =null
ifname =null
preferred_carrier =null
redundant_intf =null
redundant_mode =null
sim1_pin =null
sim1_pin_code =null
sim2_pin =null
sim2_pin_code =null
}]
}
resource"fortios_extendercontroller_extender1""this" {
# authorized - (required) is a type of stringauthorized=var.authorized# description - (optional) is a type of stringdescription=var.description# ext_name - (optional) is a type of stringext_name=var.ext_name# fosid - (optional) is a type of stringfosid=var.fosid# login_password - (optional) is a type of stringlogin_password=var.login_password# name - (required) is a type of stringname=var.name# vdom - (optional) is a type of numbervdom=var.vdomdynamic"controller_report" {
for_each=var.controller_reportcontent {
# interval - (optional) is a type of numberinterval=controller_report.value["interval"]
# signal_threshold - (optional) is a type of numbersignal_threshold=controller_report.value["signal_threshold"]
# status - (optional) is a type of stringstatus=controller_report.value["status"]
}
}
dynamic"modem1" {
for_each=var.modem1content {
# conn_status - (optional) is a type of numberconn_status=modem1.value["conn_status"]
# default_sim - (optional) is a type of stringdefault_sim=modem1.value["default_sim"]
# gps - (optional) is a type of stringgps=modem1.value["gps"]
# ifname - (optional) is a type of stringifname=modem1.value["ifname"]
# preferred_carrier - (optional) is a type of stringpreferred_carrier=modem1.value["preferred_carrier"]
# redundant_intf - (optional) is a type of stringredundant_intf=modem1.value["redundant_intf"]
# redundant_mode - (optional) is a type of stringredundant_mode=modem1.value["redundant_mode"]
# sim1_pin - (optional) is a type of stringsim1_pin=modem1.value["sim1_pin"]
# sim1_pin_code - (optional) is a type of stringsim1_pin_code=modem1.value["sim1_pin_code"]
# sim2_pin - (optional) is a type of stringsim2_pin=modem1.value["sim2_pin"]
# sim2_pin_code - (optional) is a type of stringsim2_pin_code=modem1.value["sim2_pin_code"]
dynamic"auto_switch" {
for_each=modem1.value.auto_switchcontent {
# dataplan - (optional) is a type of stringdataplan=auto_switch.value["dataplan"]
# disconnect - (optional) is a type of stringdisconnect=auto_switch.value["disconnect"]
# disconnect_period - (optional) is a type of numberdisconnect_period=auto_switch.value["disconnect_period"]
# disconnect_threshold - (optional) is a type of numberdisconnect_threshold=auto_switch.value["disconnect_threshold"]
# signal - (optional) is a type of stringsignal=auto_switch.value["signal"]
# switch_back - (optional) is a type of stringswitch_back=auto_switch.value["switch_back"]
# switch_back_time - (optional) is a type of stringswitch_back_time=auto_switch.value["switch_back_time"]
# switch_back_timer - (optional) is a type of numberswitch_back_timer=auto_switch.value["switch_back_timer"]
}
}
}
}
dynamic"modem2" {
for_each=var.modem2content {
# conn_status - (optional) is a type of numberconn_status=modem2.value["conn_status"]
# default_sim - (optional) is a type of stringdefault_sim=modem2.value["default_sim"]
# gps - (optional) is a type of stringgps=modem2.value["gps"]
# ifname - (optional) is a type of stringifname=modem2.value["ifname"]
# preferred_carrier - (optional) is a type of stringpreferred_carrier=modem2.value["preferred_carrier"]
# redundant_intf - (optional) is a type of stringredundant_intf=modem2.value["redundant_intf"]
# redundant_mode - (optional) is a type of stringredundant_mode=modem2.value["redundant_mode"]
# sim1_pin - (optional) is a type of stringsim1_pin=modem2.value["sim1_pin"]
# sim1_pin_code - (optional) is a type of stringsim1_pin_code=modem2.value["sim1_pin_code"]
# sim2_pin - (optional) is a type of stringsim2_pin=modem2.value["sim2_pin"]
# sim2_pin_code - (optional) is a type of stringsim2_pin_code=modem2.value["sim2_pin_code"]
dynamic"auto_switch" {
for_each=modem2.value.auto_switchcontent {
# dataplan - (optional) is a type of stringdataplan=auto_switch.value["dataplan"]
# disconnect - (optional) is a type of stringdisconnect=auto_switch.value["disconnect"]
# disconnect_period - (optional) is a type of numberdisconnect_period=auto_switch.value["disconnect_period"]
# disconnect_threshold - (optional) is a type of numberdisconnect_threshold=auto_switch.value["disconnect_threshold"]
# signal - (optional) is a type of stringsignal=auto_switch.value["signal"]
# switch_back - (optional) is a type of stringswitch_back=auto_switch.value["switch_back"]
# switch_back_time - (optional) is a type of stringswitch_back_time=auto_switch.value["switch_back_time"]
# switch_back_timer - (optional) is a type of numberswitch_back_timer=auto_switch.value["switch_back_timer"]
}
}
}
}
}