diff --git a/fmc_access_rules.tf b/fmc_access_rules.tf index 6a06aa2..0a9dc07 100755 --- a/fmc_access_rules.tf +++ b/fmc_access_rules.tf @@ -39,7 +39,6 @@ resource "fmc_access_rules" "access_rule_0" { lifecycle { create_before_destroy = false } - dynamic "destination_dynamic_objects" { for_each = try(length(each.value.data.destination_dynamic_objects), 0) != 0 ? ["1"] : [] content { @@ -53,10 +52,10 @@ resource "fmc_access_rules" "access_rule_0" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -65,10 +64,10 @@ resource "fmc_access_rules" "access_rule_0" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -113,10 +112,10 @@ resource "fmc_access_rules" "access_rule_0" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -125,10 +124,10 @@ resource "fmc_access_rules" "access_rule_0" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -217,10 +216,10 @@ resource "fmc_access_rules" "access_rule_1" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -229,10 +228,10 @@ resource "fmc_access_rules" "access_rule_1" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -277,10 +276,10 @@ resource "fmc_access_rules" "access_rule_1" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -289,10 +288,10 @@ resource "fmc_access_rules" "access_rule_1" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -383,10 +382,10 @@ resource "fmc_access_rules" "access_rule_2" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -395,10 +394,10 @@ resource "fmc_access_rules" "access_rule_2" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -443,10 +442,10 @@ resource "fmc_access_rules" "access_rule_2" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -455,10 +454,10 @@ resource "fmc_access_rules" "access_rule_2" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -551,10 +550,10 @@ resource "fmc_access_rules" "access_rule_3" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -563,10 +562,10 @@ resource "fmc_access_rules" "access_rule_3" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -611,10 +610,10 @@ resource "fmc_access_rules" "access_rule_3" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -623,10 +622,10 @@ resource "fmc_access_rules" "access_rule_3" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -721,10 +720,10 @@ resource "fmc_access_rules" "access_rule_4" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -733,10 +732,10 @@ resource "fmc_access_rules" "access_rule_4" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -781,10 +780,10 @@ resource "fmc_access_rules" "access_rule_4" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -793,10 +792,10 @@ resource "fmc_access_rules" "access_rule_4" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -893,10 +892,10 @@ resource "fmc_access_rules" "access_rule_5" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -905,10 +904,10 @@ resource "fmc_access_rules" "access_rule_5" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -953,10 +952,10 @@ resource "fmc_access_rules" "access_rule_5" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -965,10 +964,10 @@ resource "fmc_access_rules" "access_rule_5" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -1067,10 +1066,10 @@ resource "fmc_access_rules" "access_rule_6" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -1079,10 +1078,10 @@ resource "fmc_access_rules" "access_rule_6" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -1127,10 +1126,10 @@ resource "fmc_access_rules" "access_rule_6" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -1139,10 +1138,10 @@ resource "fmc_access_rules" "access_rule_6" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -1243,10 +1242,10 @@ resource "fmc_access_rules" "access_rule_7" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -1255,10 +1254,10 @@ resource "fmc_access_rules" "access_rule_7" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -1303,10 +1302,10 @@ resource "fmc_access_rules" "access_rule_7" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -1315,10 +1314,10 @@ resource "fmc_access_rules" "access_rule_7" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -1421,10 +1420,10 @@ resource "fmc_access_rules" "access_rule_8" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -1433,10 +1432,10 @@ resource "fmc_access_rules" "access_rule_8" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -1481,10 +1480,10 @@ resource "fmc_access_rules" "access_rule_8" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -1493,10 +1492,10 @@ resource "fmc_access_rules" "access_rule_8" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -1601,10 +1600,10 @@ resource "fmc_access_rules" "access_rule_9" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -1613,10 +1612,10 @@ resource "fmc_access_rules" "access_rule_9" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -1661,10 +1660,10 @@ resource "fmc_access_rules" "access_rule_9" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -1673,10 +1672,10 @@ resource "fmc_access_rules" "access_rule_9" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -1783,10 +1782,10 @@ resource "fmc_access_rules" "access_rule_10" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -1795,10 +1794,10 @@ resource "fmc_access_rules" "access_rule_10" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -1843,10 +1842,10 @@ resource "fmc_access_rules" "access_rule_10" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -1855,10 +1854,10 @@ resource "fmc_access_rules" "access_rule_10" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -1967,10 +1966,10 @@ resource "fmc_access_rules" "access_rule_11" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -1979,10 +1978,10 @@ resource "fmc_access_rules" "access_rule_11" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -2027,10 +2026,10 @@ resource "fmc_access_rules" "access_rule_11" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -2039,10 +2038,10 @@ resource "fmc_access_rules" "access_rule_11" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -2153,10 +2152,10 @@ resource "fmc_access_rules" "access_rule_12" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -2165,10 +2164,10 @@ resource "fmc_access_rules" "access_rule_12" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -2213,10 +2212,10 @@ resource "fmc_access_rules" "access_rule_12" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -2225,10 +2224,10 @@ resource "fmc_access_rules" "access_rule_12" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -2341,10 +2340,10 @@ resource "fmc_access_rules" "access_rule_13" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -2353,10 +2352,10 @@ resource "fmc_access_rules" "access_rule_13" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -2401,10 +2400,10 @@ resource "fmc_access_rules" "access_rule_13" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -2413,10 +2412,10 @@ resource "fmc_access_rules" "access_rule_13" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -2531,10 +2530,10 @@ resource "fmc_access_rules" "access_rule_14" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -2543,10 +2542,10 @@ resource "fmc_access_rules" "access_rule_14" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -2591,10 +2590,10 @@ resource "fmc_access_rules" "access_rule_14" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -2603,10 +2602,10 @@ resource "fmc_access_rules" "access_rule_14" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -2723,10 +2722,10 @@ resource "fmc_access_rules" "access_rule_15" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -2735,10 +2734,10 @@ resource "fmc_access_rules" "access_rule_15" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -2783,10 +2782,10 @@ resource "fmc_access_rules" "access_rule_15" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -2795,10 +2794,10 @@ resource "fmc_access_rules" "access_rule_15" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -2917,10 +2916,10 @@ resource "fmc_access_rules" "access_rule_16" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -2929,10 +2928,10 @@ resource "fmc_access_rules" "access_rule_16" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -2977,10 +2976,10 @@ resource "fmc_access_rules" "access_rule_16" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -2989,10 +2988,10 @@ resource "fmc_access_rules" "access_rule_16" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -3113,10 +3112,10 @@ resource "fmc_access_rules" "access_rule_17" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -3125,10 +3124,10 @@ resource "fmc_access_rules" "access_rule_17" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -3173,10 +3172,10 @@ resource "fmc_access_rules" "access_rule_17" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -3185,10 +3184,10 @@ resource "fmc_access_rules" "access_rule_17" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -3311,10 +3310,10 @@ resource "fmc_access_rules" "access_rule_18" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -3323,10 +3322,10 @@ resource "fmc_access_rules" "access_rule_18" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -3371,10 +3370,10 @@ resource "fmc_access_rules" "access_rule_18" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -3383,10 +3382,10 @@ resource "fmc_access_rules" "access_rule_18" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -3511,10 +3510,10 @@ resource "fmc_access_rules" "access_rule_19" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -3523,10 +3522,10 @@ resource "fmc_access_rules" "access_rule_19" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -3571,10 +3570,10 @@ resource "fmc_access_rules" "access_rule_19" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -3583,10 +3582,10 @@ resource "fmc_access_rules" "access_rule_19" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -3713,10 +3712,10 @@ resource "fmc_access_rules" "access_rule_20" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -3725,10 +3724,10 @@ resource "fmc_access_rules" "access_rule_20" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -3773,10 +3772,10 @@ resource "fmc_access_rules" "access_rule_20" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -3785,10 +3784,10 @@ resource "fmc_access_rules" "access_rule_20" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -3917,10 +3916,10 @@ resource "fmc_access_rules" "access_rule_21" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -3929,10 +3928,10 @@ resource "fmc_access_rules" "access_rule_21" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -3977,10 +3976,10 @@ resource "fmc_access_rules" "access_rule_21" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -3989,10 +3988,10 @@ resource "fmc_access_rules" "access_rule_21" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -4123,10 +4122,10 @@ resource "fmc_access_rules" "access_rule_22" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -4135,10 +4134,10 @@ resource "fmc_access_rules" "access_rule_22" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -4183,10 +4182,10 @@ resource "fmc_access_rules" "access_rule_22" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -4195,10 +4194,10 @@ resource "fmc_access_rules" "access_rule_22" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -4331,10 +4330,10 @@ resource "fmc_access_rules" "access_rule_23" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -4343,10 +4342,10 @@ resource "fmc_access_rules" "access_rule_23" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -4391,10 +4390,10 @@ resource "fmc_access_rules" "access_rule_23" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -4403,10 +4402,10 @@ resource "fmc_access_rules" "access_rule_23" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -4541,10 +4540,10 @@ resource "fmc_access_rules" "access_rule_24" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -4553,10 +4552,10 @@ resource "fmc_access_rules" "access_rule_24" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -4601,10 +4600,10 @@ resource "fmc_access_rules" "access_rule_24" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -4613,10 +4612,10 @@ resource "fmc_access_rules" "access_rule_24" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -4753,10 +4752,10 @@ resource "fmc_access_rules" "access_rule_25" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -4765,10 +4764,10 @@ resource "fmc_access_rules" "access_rule_25" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -4813,10 +4812,10 @@ resource "fmc_access_rules" "access_rule_25" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -4825,10 +4824,10 @@ resource "fmc_access_rules" "access_rule_25" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -4967,10 +4966,10 @@ resource "fmc_access_rules" "access_rule_26" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -4979,10 +4978,10 @@ resource "fmc_access_rules" "access_rule_26" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -5027,10 +5026,10 @@ resource "fmc_access_rules" "access_rule_26" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -5039,10 +5038,10 @@ resource "fmc_access_rules" "access_rule_26" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -5183,10 +5182,10 @@ resource "fmc_access_rules" "access_rule_27" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -5195,10 +5194,10 @@ resource "fmc_access_rules" "access_rule_27" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -5243,10 +5242,10 @@ resource "fmc_access_rules" "access_rule_27" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -5255,10 +5254,10 @@ resource "fmc_access_rules" "access_rule_27" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -5401,10 +5400,10 @@ resource "fmc_access_rules" "access_rule_28" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -5413,10 +5412,10 @@ resource "fmc_access_rules" "access_rule_28" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -5461,10 +5460,10 @@ resource "fmc_access_rules" "access_rule_28" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -5473,10 +5472,10 @@ resource "fmc_access_rules" "access_rule_28" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -5621,10 +5620,10 @@ resource "fmc_access_rules" "access_rule_29" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -5633,10 +5632,10 @@ resource "fmc_access_rules" "access_rule_29" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -5681,10 +5680,10 @@ resource "fmc_access_rules" "access_rule_29" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -5693,10 +5692,10 @@ resource "fmc_access_rules" "access_rule_29" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -5843,10 +5842,10 @@ resource "fmc_access_rules" "access_rule_30" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -5855,10 +5854,10 @@ resource "fmc_access_rules" "access_rule_30" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -5903,10 +5902,10 @@ resource "fmc_access_rules" "access_rule_30" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -5915,10 +5914,10 @@ resource "fmc_access_rules" "access_rule_30" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -6067,10 +6066,10 @@ resource "fmc_access_rules" "access_rule_31" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -6079,10 +6078,10 @@ resource "fmc_access_rules" "access_rule_31" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -6127,10 +6126,10 @@ resource "fmc_access_rules" "access_rule_31" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -6139,10 +6138,10 @@ resource "fmc_access_rules" "access_rule_31" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -6293,10 +6292,10 @@ resource "fmc_access_rules" "access_rule_32" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -6305,10 +6304,10 @@ resource "fmc_access_rules" "access_rule_32" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -6353,10 +6352,10 @@ resource "fmc_access_rules" "access_rule_32" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -6365,10 +6364,10 @@ resource "fmc_access_rules" "access_rule_32" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -6521,10 +6520,10 @@ resource "fmc_access_rules" "access_rule_33" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -6533,10 +6532,10 @@ resource "fmc_access_rules" "access_rule_33" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -6581,10 +6580,10 @@ resource "fmc_access_rules" "access_rule_33" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -6593,10 +6592,10 @@ resource "fmc_access_rules" "access_rule_33" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -6751,10 +6750,10 @@ resource "fmc_access_rules" "access_rule_34" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -6763,10 +6762,10 @@ resource "fmc_access_rules" "access_rule_34" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -6811,10 +6810,10 @@ resource "fmc_access_rules" "access_rule_34" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -6823,10 +6822,10 @@ resource "fmc_access_rules" "access_rule_34" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -6983,10 +6982,10 @@ resource "fmc_access_rules" "access_rule_35" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -6995,10 +6994,10 @@ resource "fmc_access_rules" "access_rule_35" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -7043,10 +7042,10 @@ resource "fmc_access_rules" "access_rule_35" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -7055,10 +7054,10 @@ resource "fmc_access_rules" "access_rule_35" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -7217,10 +7216,10 @@ resource "fmc_access_rules" "access_rule_36" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -7229,10 +7228,10 @@ resource "fmc_access_rules" "access_rule_36" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -7277,10 +7276,10 @@ resource "fmc_access_rules" "access_rule_36" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -7289,10 +7288,10 @@ resource "fmc_access_rules" "access_rule_36" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -7453,10 +7452,10 @@ resource "fmc_access_rules" "access_rule_37" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -7465,10 +7464,10 @@ resource "fmc_access_rules" "access_rule_37" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -7513,10 +7512,10 @@ resource "fmc_access_rules" "access_rule_37" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -7525,10 +7524,10 @@ resource "fmc_access_rules" "access_rule_37" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -7691,10 +7690,10 @@ resource "fmc_access_rules" "access_rule_38" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -7703,10 +7702,10 @@ resource "fmc_access_rules" "access_rule_38" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -7751,10 +7750,10 @@ resource "fmc_access_rules" "access_rule_38" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -7763,10 +7762,10 @@ resource "fmc_access_rules" "access_rule_38" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -7931,10 +7930,10 @@ resource "fmc_access_rules" "access_rule_39" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -7943,10 +7942,10 @@ resource "fmc_access_rules" "access_rule_39" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -7991,10 +7990,10 @@ resource "fmc_access_rules" "access_rule_39" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -8003,10 +8002,10 @@ resource "fmc_access_rules" "access_rule_39" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -8173,10 +8172,10 @@ resource "fmc_access_rules" "access_rule_40" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -8185,10 +8184,10 @@ resource "fmc_access_rules" "access_rule_40" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -8233,10 +8232,10 @@ resource "fmc_access_rules" "access_rule_40" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -8245,10 +8244,10 @@ resource "fmc_access_rules" "access_rule_40" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -8417,10 +8416,10 @@ resource "fmc_access_rules" "access_rule_41" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -8429,10 +8428,10 @@ resource "fmc_access_rules" "access_rule_41" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -8477,10 +8476,10 @@ resource "fmc_access_rules" "access_rule_41" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -8489,10 +8488,10 @@ resource "fmc_access_rules" "access_rule_41" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -8663,10 +8662,10 @@ resource "fmc_access_rules" "access_rule_42" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -8675,10 +8674,10 @@ resource "fmc_access_rules" "access_rule_42" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -8723,10 +8722,10 @@ resource "fmc_access_rules" "access_rule_42" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -8735,10 +8734,10 @@ resource "fmc_access_rules" "access_rule_42" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -8911,10 +8910,10 @@ resource "fmc_access_rules" "access_rule_43" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -8923,10 +8922,10 @@ resource "fmc_access_rules" "access_rule_43" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -8971,10 +8970,10 @@ resource "fmc_access_rules" "access_rule_43" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -8983,10 +8982,10 @@ resource "fmc_access_rules" "access_rule_43" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -9161,10 +9160,10 @@ resource "fmc_access_rules" "access_rule_44" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -9173,10 +9172,10 @@ resource "fmc_access_rules" "access_rule_44" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -9221,10 +9220,10 @@ resource "fmc_access_rules" "access_rule_44" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -9233,10 +9232,10 @@ resource "fmc_access_rules" "access_rule_44" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -9413,10 +9412,10 @@ resource "fmc_access_rules" "access_rule_45" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -9425,10 +9424,10 @@ resource "fmc_access_rules" "access_rule_45" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -9473,10 +9472,10 @@ resource "fmc_access_rules" "access_rule_45" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -9485,10 +9484,10 @@ resource "fmc_access_rules" "access_rule_45" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -9667,10 +9666,10 @@ resource "fmc_access_rules" "access_rule_46" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -9679,10 +9678,10 @@ resource "fmc_access_rules" "access_rule_46" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -9727,10 +9726,10 @@ resource "fmc_access_rules" "access_rule_46" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -9739,10 +9738,10 @@ resource "fmc_access_rules" "access_rule_46" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -9923,10 +9922,10 @@ resource "fmc_access_rules" "access_rule_47" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -9935,10 +9934,10 @@ resource "fmc_access_rules" "access_rule_47" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -9983,10 +9982,10 @@ resource "fmc_access_rules" "access_rule_47" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -9995,10 +9994,10 @@ resource "fmc_access_rules" "access_rule_47" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -10181,10 +10180,10 @@ resource "fmc_access_rules" "access_rule_48" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -10193,10 +10192,10 @@ resource "fmc_access_rules" "access_rule_48" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -10241,10 +10240,10 @@ resource "fmc_access_rules" "access_rule_48" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -10253,10 +10252,10 @@ resource "fmc_access_rules" "access_rule_48" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -10441,10 +10440,10 @@ resource "fmc_access_rules" "access_rule_49" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -10453,10 +10452,10 @@ resource "fmc_access_rules" "access_rule_49" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -10501,10 +10500,10 @@ resource "fmc_access_rules" "access_rule_49" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -10513,10 +10512,10 @@ resource "fmc_access_rules" "access_rule_49" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -10703,10 +10702,10 @@ resource "fmc_access_rules" "access_rule_50" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -10715,10 +10714,10 @@ resource "fmc_access_rules" "access_rule_50" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -10763,10 +10762,10 @@ resource "fmc_access_rules" "access_rule_50" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -10775,10 +10774,10 @@ resource "fmc_access_rules" "access_rule_50" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -10967,10 +10966,10 @@ resource "fmc_access_rules" "access_rule_51" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -10979,10 +10978,10 @@ resource "fmc_access_rules" "access_rule_51" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -11027,10 +11026,10 @@ resource "fmc_access_rules" "access_rule_51" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -11039,10 +11038,10 @@ resource "fmc_access_rules" "access_rule_51" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -11233,10 +11232,10 @@ resource "fmc_access_rules" "access_rule_52" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -11245,10 +11244,10 @@ resource "fmc_access_rules" "access_rule_52" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -11293,10 +11292,10 @@ resource "fmc_access_rules" "access_rule_52" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -11305,10 +11304,10 @@ resource "fmc_access_rules" "access_rule_52" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -11501,10 +11500,10 @@ resource "fmc_access_rules" "access_rule_53" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -11513,10 +11512,10 @@ resource "fmc_access_rules" "access_rule_53" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -11561,10 +11560,10 @@ resource "fmc_access_rules" "access_rule_53" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -11573,10 +11572,10 @@ resource "fmc_access_rules" "access_rule_53" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -11771,10 +11770,10 @@ resource "fmc_access_rules" "access_rule_54" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -11783,10 +11782,10 @@ resource "fmc_access_rules" "access_rule_54" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -11831,10 +11830,10 @@ resource "fmc_access_rules" "access_rule_54" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -11843,10 +11842,10 @@ resource "fmc_access_rules" "access_rule_54" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -12043,10 +12042,10 @@ resource "fmc_access_rules" "access_rule_55" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -12055,10 +12054,10 @@ resource "fmc_access_rules" "access_rule_55" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -12103,10 +12102,10 @@ resource "fmc_access_rules" "access_rule_55" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -12115,10 +12114,10 @@ resource "fmc_access_rules" "access_rule_55" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -12317,10 +12316,10 @@ resource "fmc_access_rules" "access_rule_56" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -12329,10 +12328,10 @@ resource "fmc_access_rules" "access_rule_56" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -12377,10 +12376,10 @@ resource "fmc_access_rules" "access_rule_56" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -12389,10 +12388,10 @@ resource "fmc_access_rules" "access_rule_56" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -12593,10 +12592,10 @@ resource "fmc_access_rules" "access_rule_57" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -12605,10 +12604,10 @@ resource "fmc_access_rules" "access_rule_57" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -12653,10 +12652,10 @@ resource "fmc_access_rules" "access_rule_57" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -12665,10 +12664,10 @@ resource "fmc_access_rules" "access_rule_57" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -12871,10 +12870,10 @@ resource "fmc_access_rules" "access_rule_58" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -12883,10 +12882,10 @@ resource "fmc_access_rules" "access_rule_58" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -12931,10 +12930,10 @@ resource "fmc_access_rules" "access_rule_58" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -12943,10 +12942,10 @@ resource "fmc_access_rules" "access_rule_58" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -13151,10 +13150,10 @@ resource "fmc_access_rules" "access_rule_59" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -13163,10 +13162,10 @@ resource "fmc_access_rules" "access_rule_59" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -13211,10 +13210,10 @@ resource "fmc_access_rules" "access_rule_59" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -13223,10 +13222,10 @@ resource "fmc_access_rules" "access_rule_59" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -13433,10 +13432,10 @@ resource "fmc_access_rules" "access_rule_60" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -13445,10 +13444,10 @@ resource "fmc_access_rules" "access_rule_60" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -13493,10 +13492,10 @@ resource "fmc_access_rules" "access_rule_60" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -13505,10 +13504,10 @@ resource "fmc_access_rules" "access_rule_60" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -13717,10 +13716,10 @@ resource "fmc_access_rules" "access_rule_61" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -13729,10 +13728,10 @@ resource "fmc_access_rules" "access_rule_61" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -13777,10 +13776,10 @@ resource "fmc_access_rules" "access_rule_61" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -13789,10 +13788,10 @@ resource "fmc_access_rules" "access_rule_61" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -14003,10 +14002,10 @@ resource "fmc_access_rules" "access_rule_62" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -14015,10 +14014,10 @@ resource "fmc_access_rules" "access_rule_62" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -14063,10 +14062,10 @@ resource "fmc_access_rules" "access_rule_62" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -14075,10 +14074,10 @@ resource "fmc_access_rules" "access_rule_62" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -14291,10 +14290,10 @@ resource "fmc_access_rules" "access_rule_63" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -14303,10 +14302,10 @@ resource "fmc_access_rules" "access_rule_63" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -14351,10 +14350,10 @@ resource "fmc_access_rules" "access_rule_63" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -14363,10 +14362,10 @@ resource "fmc_access_rules" "access_rule_63" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -14581,10 +14580,10 @@ resource "fmc_access_rules" "access_rule_64" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -14593,10 +14592,10 @@ resource "fmc_access_rules" "access_rule_64" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -14641,10 +14640,10 @@ resource "fmc_access_rules" "access_rule_64" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -14653,10 +14652,10 @@ resource "fmc_access_rules" "access_rule_64" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -14873,10 +14872,10 @@ resource "fmc_access_rules" "access_rule_65" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -14885,10 +14884,10 @@ resource "fmc_access_rules" "access_rule_65" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -14933,10 +14932,10 @@ resource "fmc_access_rules" "access_rule_65" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -14945,10 +14944,10 @@ resource "fmc_access_rules" "access_rule_65" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -15167,10 +15166,10 @@ resource "fmc_access_rules" "access_rule_66" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -15179,10 +15178,10 @@ resource "fmc_access_rules" "access_rule_66" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -15227,10 +15226,10 @@ resource "fmc_access_rules" "access_rule_66" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -15239,10 +15238,10 @@ resource "fmc_access_rules" "access_rule_66" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -15463,10 +15462,10 @@ resource "fmc_access_rules" "access_rule_67" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -15475,10 +15474,10 @@ resource "fmc_access_rules" "access_rule_67" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -15523,10 +15522,10 @@ resource "fmc_access_rules" "access_rule_67" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -15535,10 +15534,10 @@ resource "fmc_access_rules" "access_rule_67" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -15761,10 +15760,10 @@ resource "fmc_access_rules" "access_rule_68" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -15773,10 +15772,10 @@ resource "fmc_access_rules" "access_rule_68" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -15821,10 +15820,10 @@ resource "fmc_access_rules" "access_rule_68" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -15833,10 +15832,10 @@ resource "fmc_access_rules" "access_rule_68" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -16061,10 +16060,10 @@ resource "fmc_access_rules" "access_rule_69" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -16073,10 +16072,10 @@ resource "fmc_access_rules" "access_rule_69" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -16121,10 +16120,10 @@ resource "fmc_access_rules" "access_rule_69" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -16133,10 +16132,10 @@ resource "fmc_access_rules" "access_rule_69" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -16363,10 +16362,10 @@ resource "fmc_access_rules" "access_rule_70" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -16375,10 +16374,10 @@ resource "fmc_access_rules" "access_rule_70" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -16423,10 +16422,10 @@ resource "fmc_access_rules" "access_rule_70" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -16435,10 +16434,10 @@ resource "fmc_access_rules" "access_rule_70" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -16667,10 +16666,10 @@ resource "fmc_access_rules" "access_rule_71" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -16679,10 +16678,10 @@ resource "fmc_access_rules" "access_rule_71" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -16727,10 +16726,10 @@ resource "fmc_access_rules" "access_rule_71" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -16739,10 +16738,10 @@ resource "fmc_access_rules" "access_rule_71" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -16973,10 +16972,10 @@ resource "fmc_access_rules" "access_rule_72" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -16985,10 +16984,10 @@ resource "fmc_access_rules" "access_rule_72" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -17033,10 +17032,10 @@ resource "fmc_access_rules" "access_rule_72" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -17045,10 +17044,10 @@ resource "fmc_access_rules" "access_rule_72" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -17281,10 +17280,10 @@ resource "fmc_access_rules" "access_rule_73" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -17293,10 +17292,10 @@ resource "fmc_access_rules" "access_rule_73" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -17341,10 +17340,10 @@ resource "fmc_access_rules" "access_rule_73" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -17353,10 +17352,10 @@ resource "fmc_access_rules" "access_rule_73" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -17591,10 +17590,10 @@ resource "fmc_access_rules" "access_rule_74" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -17603,10 +17602,10 @@ resource "fmc_access_rules" "access_rule_74" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -17651,10 +17650,10 @@ resource "fmc_access_rules" "access_rule_74" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -17663,10 +17662,10 @@ resource "fmc_access_rules" "access_rule_74" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -17903,10 +17902,10 @@ resource "fmc_access_rules" "access_rule_75" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -17915,10 +17914,10 @@ resource "fmc_access_rules" "access_rule_75" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -17963,10 +17962,10 @@ resource "fmc_access_rules" "access_rule_75" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -17975,10 +17974,10 @@ resource "fmc_access_rules" "access_rule_75" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -18217,10 +18216,10 @@ resource "fmc_access_rules" "access_rule_76" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -18229,10 +18228,10 @@ resource "fmc_access_rules" "access_rule_76" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -18277,10 +18276,10 @@ resource "fmc_access_rules" "access_rule_76" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -18289,10 +18288,10 @@ resource "fmc_access_rules" "access_rule_76" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -18533,10 +18532,10 @@ resource "fmc_access_rules" "access_rule_77" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -18545,10 +18544,10 @@ resource "fmc_access_rules" "access_rule_77" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -18593,10 +18592,10 @@ resource "fmc_access_rules" "access_rule_77" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -18605,10 +18604,10 @@ resource "fmc_access_rules" "access_rule_77" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -18851,10 +18850,10 @@ resource "fmc_access_rules" "access_rule_78" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -18863,10 +18862,10 @@ resource "fmc_access_rules" "access_rule_78" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -18911,10 +18910,10 @@ resource "fmc_access_rules" "access_rule_78" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -18923,10 +18922,10 @@ resource "fmc_access_rules" "access_rule_78" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -19171,10 +19170,10 @@ resource "fmc_access_rules" "access_rule_79" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -19183,10 +19182,10 @@ resource "fmc_access_rules" "access_rule_79" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -19231,10 +19230,10 @@ resource "fmc_access_rules" "access_rule_79" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -19243,10 +19242,10 @@ resource "fmc_access_rules" "access_rule_79" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -19493,10 +19492,10 @@ resource "fmc_access_rules" "access_rule_80" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -19505,10 +19504,10 @@ resource "fmc_access_rules" "access_rule_80" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -19553,10 +19552,10 @@ resource "fmc_access_rules" "access_rule_80" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -19565,10 +19564,10 @@ resource "fmc_access_rules" "access_rule_80" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -19817,10 +19816,10 @@ resource "fmc_access_rules" "access_rule_81" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -19829,10 +19828,10 @@ resource "fmc_access_rules" "access_rule_81" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -19877,10 +19876,10 @@ resource "fmc_access_rules" "access_rule_81" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -19889,10 +19888,10 @@ resource "fmc_access_rules" "access_rule_81" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -20143,10 +20142,10 @@ resource "fmc_access_rules" "access_rule_82" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -20155,10 +20154,10 @@ resource "fmc_access_rules" "access_rule_82" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -20203,10 +20202,10 @@ resource "fmc_access_rules" "access_rule_82" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -20215,10 +20214,10 @@ resource "fmc_access_rules" "access_rule_82" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -20471,10 +20470,10 @@ resource "fmc_access_rules" "access_rule_83" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -20483,10 +20482,10 @@ resource "fmc_access_rules" "access_rule_83" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -20531,10 +20530,10 @@ resource "fmc_access_rules" "access_rule_83" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -20543,10 +20542,10 @@ resource "fmc_access_rules" "access_rule_83" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -20801,10 +20800,10 @@ resource "fmc_access_rules" "access_rule_84" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -20813,10 +20812,10 @@ resource "fmc_access_rules" "access_rule_84" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -20861,10 +20860,10 @@ resource "fmc_access_rules" "access_rule_84" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -20873,10 +20872,10 @@ resource "fmc_access_rules" "access_rule_84" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -21133,10 +21132,10 @@ resource "fmc_access_rules" "access_rule_85" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -21145,10 +21144,10 @@ resource "fmc_access_rules" "access_rule_85" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -21193,10 +21192,10 @@ resource "fmc_access_rules" "access_rule_85" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -21205,10 +21204,10 @@ resource "fmc_access_rules" "access_rule_85" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -21467,10 +21466,10 @@ resource "fmc_access_rules" "access_rule_86" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -21479,10 +21478,10 @@ resource "fmc_access_rules" "access_rule_86" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -21527,10 +21526,10 @@ resource "fmc_access_rules" "access_rule_86" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -21539,10 +21538,10 @@ resource "fmc_access_rules" "access_rule_86" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -21803,10 +21802,10 @@ resource "fmc_access_rules" "access_rule_87" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -21815,10 +21814,10 @@ resource "fmc_access_rules" "access_rule_87" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -21863,10 +21862,10 @@ resource "fmc_access_rules" "access_rule_87" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -21875,10 +21874,10 @@ resource "fmc_access_rules" "access_rule_87" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -22141,10 +22140,10 @@ resource "fmc_access_rules" "access_rule_88" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -22153,10 +22152,10 @@ resource "fmc_access_rules" "access_rule_88" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -22201,10 +22200,10 @@ resource "fmc_access_rules" "access_rule_88" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -22213,10 +22212,10 @@ resource "fmc_access_rules" "access_rule_88" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -22481,10 +22480,10 @@ resource "fmc_access_rules" "access_rule_89" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -22493,10 +22492,10 @@ resource "fmc_access_rules" "access_rule_89" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -22541,10 +22540,10 @@ resource "fmc_access_rules" "access_rule_89" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -22553,10 +22552,10 @@ resource "fmc_access_rules" "access_rule_89" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -22823,10 +22822,10 @@ resource "fmc_access_rules" "access_rule_90" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -22835,10 +22834,10 @@ resource "fmc_access_rules" "access_rule_90" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -22883,10 +22882,10 @@ resource "fmc_access_rules" "access_rule_90" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -22895,10 +22894,10 @@ resource "fmc_access_rules" "access_rule_90" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -23167,10 +23166,10 @@ resource "fmc_access_rules" "access_rule_91" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -23179,10 +23178,10 @@ resource "fmc_access_rules" "access_rule_91" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -23227,10 +23226,10 @@ resource "fmc_access_rules" "access_rule_91" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -23239,10 +23238,10 @@ resource "fmc_access_rules" "access_rule_91" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -23513,10 +23512,10 @@ resource "fmc_access_rules" "access_rule_92" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -23525,10 +23524,10 @@ resource "fmc_access_rules" "access_rule_92" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -23573,10 +23572,10 @@ resource "fmc_access_rules" "access_rule_92" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -23585,10 +23584,10 @@ resource "fmc_access_rules" "access_rule_92" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -23861,10 +23860,10 @@ resource "fmc_access_rules" "access_rule_93" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -23873,10 +23872,10 @@ resource "fmc_access_rules" "access_rule_93" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -23921,10 +23920,10 @@ resource "fmc_access_rules" "access_rule_93" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -23933,10 +23932,10 @@ resource "fmc_access_rules" "access_rule_93" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -24211,10 +24210,10 @@ resource "fmc_access_rules" "access_rule_94" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -24223,10 +24222,10 @@ resource "fmc_access_rules" "access_rule_94" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -24271,10 +24270,10 @@ resource "fmc_access_rules" "access_rule_94" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -24283,10 +24282,10 @@ resource "fmc_access_rules" "access_rule_94" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -24563,10 +24562,10 @@ resource "fmc_access_rules" "access_rule_95" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -24575,10 +24574,10 @@ resource "fmc_access_rules" "access_rule_95" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -24623,10 +24622,10 @@ resource "fmc_access_rules" "access_rule_95" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -24635,10 +24634,10 @@ resource "fmc_access_rules" "access_rule_95" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -24917,10 +24916,10 @@ resource "fmc_access_rules" "access_rule_96" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -24929,10 +24928,10 @@ resource "fmc_access_rules" "access_rule_96" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -24977,10 +24976,10 @@ resource "fmc_access_rules" "access_rule_96" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -24989,10 +24988,10 @@ resource "fmc_access_rules" "access_rule_96" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -25273,10 +25272,10 @@ resource "fmc_access_rules" "access_rule_97" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -25285,10 +25284,10 @@ resource "fmc_access_rules" "access_rule_97" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -25333,10 +25332,10 @@ resource "fmc_access_rules" "access_rule_97" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -25345,10 +25344,10 @@ resource "fmc_access_rules" "access_rule_97" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -25631,10 +25630,10 @@ resource "fmc_access_rules" "access_rule_98" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -25643,10 +25642,10 @@ resource "fmc_access_rules" "access_rule_98" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -25691,10 +25690,10 @@ resource "fmc_access_rules" "access_rule_98" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -25703,10 +25702,10 @@ resource "fmc_access_rules" "access_rule_98" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type @@ -25991,10 +25990,10 @@ resource "fmc_access_rules" "access_rule_99" { } } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -26003,10 +26002,10 @@ resource "fmc_access_rules" "access_rule_99" { } } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -26051,10 +26050,10 @@ resource "fmc_access_rules" "access_rule_99" { } } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -26063,10 +26062,10 @@ resource "fmc_access_rules" "access_rule_99" { } } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type diff --git a/fmc_devices.tf b/fmc_devices.tf index a9a52fe..83fefbe 100644 --- a/fmc_devices.tf +++ b/fmc_devices.tf @@ -286,9 +286,9 @@ locals { for ipv4staticroute in try(device.ipv4_static_routes, []) : { key = "${device.name}/${ipv4staticroute.name}" device_id = local.map_devices[device.name].id - gateway_id = local.map_networkobjects[ipv4staticroute.gateway].id - gateway_type = local.map_networkobjects[ipv4staticroute.gateway].type - gateway_name = ipv4staticroute.gateway + gateway_id = local.map_networkobjects[ipv4staticroute.gateway.object].id + gateway_type = local.map_networkobjects[ipv4staticroute.gateway.object].type + gateway_name = ipv4staticroute.gateway.object interface_name = ipv4staticroute.interface selected_networks = ipv4staticroute.selected_networks } diff --git a/templates/fmc_access_rules.tftpl b/templates/fmc_access_rules.tftpl index 1f32332..dfd2570 100644 --- a/templates/fmc_access_rules.tftpl +++ b/templates/fmc_access_rules.tftpl @@ -78,10 +78,10 @@ resource "fmc_access_rules" "access_rule_${index}" { } dynamic "destination_networks" { - for_each = try(length(each.value.data.destination_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_network" { - for_each = { for obj in try(each.value.data.destination_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_network_objects, []) : obj => obj } content { id = local.map_networkobjects[destination_network.value].id type = local.map_networkobjects[destination_network.value].type @@ -91,10 +91,10 @@ resource "fmc_access_rules" "access_rule_${index}" { } dynamic "destination_ports" { - for_each = try(length(each.value.data.destination_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.destination_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "destination_port" { - for_each = { for obj in try(each.value.data.destination_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.destination_port_objects, []) : obj => obj } content { id = local.map_ports[destination_port.value].id type = local.map_ports[destination_port.value].type @@ -144,10 +144,10 @@ resource "fmc_access_rules" "access_rule_${index}" { } dynamic "source_networks" { - for_each = try(length(each.value.data.source_networks), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_network_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_network" { - for_each = { for obj in try(each.value.data.source_networks, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_network_objects, []) : obj => obj } content { id = local.map_networkobjects[source_network.value].id type = local.map_networkobjects[source_network.value].type @@ -157,10 +157,10 @@ resource "fmc_access_rules" "access_rule_${index}" { } dynamic "source_ports" { - for_each = try(length(each.value.data.source_ports), 0) != 0 ? ["1"] : [] + for_each = try(length(each.value.data.source_port_objects), 0) != 0 ? ["1"] : [] content { dynamic "source_port" { - for_each = { for obj in try(each.value.data.source_ports, []) : obj => obj } + for_each = { for obj in try(each.value.data.source_port_objects, []) : obj => obj } content { id = local.map_ports[source_port.value].id type = local.map_ports[source_port.value].type