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_firewall_internetservicecustom" {
source="./modules/fortios/r/fortios_firewall_internetservicecustom"# comment - (optional) is a type of stringcomment=null# dynamic_sort_subtable - (optional) is a type of stringdynamic_sort_subtable=null# name - (optional) is a type of stringname=null# reputation - (optional) is a type of numberreputation=nullentry=[{
dst = [{
name =null
}]
id =null
port_range = [{
end_port =null
id =null
start_port =null
}]
protocol =null
}]
}
resource"fortios_firewall_internetservicecustom""this" {
# comment - (optional) is a type of stringcomment=var.comment# dynamic_sort_subtable - (optional) is a type of stringdynamic_sort_subtable=var.dynamic_sort_subtable# name - (optional) is a type of stringname=var.name# reputation - (optional) is a type of numberreputation=var.reputationdynamic"entry" {
for_each=var.entrycontent {
# id - (optional) is a type of numberid=entry.value["id"]
# protocol - (optional) is a type of numberprotocol=entry.value["protocol"]
dynamic"dst" {
for_each=entry.value.dstcontent {
# name - (optional) is a type of stringname=dst.value["name"]
}
}
dynamic"port_range" {
for_each=entry.value.port_rangecontent {
# end_port - (optional) is a type of numberend_port=port_range.value["end_port"]
# id - (optional) is a type of numberid=port_range.value["id"]
# start_port - (optional) is a type of numberstart_port=port_range.value["start_port"]
}
}
}
}
}