Skip to content

Commit 097c1ed

Browse files
allow port_assignment on FIAB
1 parent 5ff5a61 commit 097c1ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cc_device_provision.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ locals {
199199
}
200200

201201
resource "catalystcenter_fabric_port_assignment" "port_assignments" {
202-
for_each = { for device in try(local.catalyst_center.inventory.devices, []) : device.name => device if device.state == "PROVISION" && device.device_role == "ACCESS" && contains(device.fabric_roles, "EDGE_NODE") && try(device.port_assignments, null) != null }
202+
for_each = { for device in try(local.catalyst_center.inventory.devices, []) : device.name => device if device.state == "PROVISION" && contains(device.fabric_roles, "EDGE_NODE") && try(device.port_assignments, null) != null }
203203

204204
fabric_id = try(catalystcenter_fabric_site.fabric_site[each.value.fabric_site].id, null)
205205
network_device_id = local.device_ip_to_id[each.value.device_ip]

0 commit comments

Comments
 (0)