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_vlanpolicy" {
source="./modules/fortios/r/fortios_switchcontroller_vlanpolicy"# allowed_vlans_all - (optional) is a type of stringallowed_vlans_all=null# description - (optional) is a type of stringdescription=null# discard_mode - (optional) is a type of stringdiscard_mode=null# dynamic_sort_subtable - (optional) is a type of stringdynamic_sort_subtable=null# fortilink - (optional) is a type of stringfortilink=null# name - (optional) is a type of stringname=null# vlan - (optional) is a type of stringvlan=nullallowed_vlans=[{
vlan_name =null
}]
untagged_vlans=[{
vlan_name =null
}]
}
resource"fortios_switchcontroller_vlanpolicy""this" {
# allowed_vlans_all - (optional) is a type of stringallowed_vlans_all=var.allowed_vlans_all# description - (optional) is a type of stringdescription=var.description# discard_mode - (optional) is a type of stringdiscard_mode=var.discard_mode# dynamic_sort_subtable - (optional) is a type of stringdynamic_sort_subtable=var.dynamic_sort_subtable# fortilink - (optional) is a type of stringfortilink=var.fortilink# name - (optional) is a type of stringname=var.name# vlan - (optional) is a type of stringvlan=var.vlandynamic"allowed_vlans" {
for_each=var.allowed_vlanscontent {
# vlan_name - (optional) is a type of stringvlan_name=allowed_vlans.value["vlan_name"]
}
}
dynamic"untagged_vlans" {
for_each=var.untagged_vlanscontent {
# vlan_name - (optional) is a type of stringvlan_name=untagged_vlans.value["vlan_name"]
}
}
}