Skip to content

Commit a0202b7

Browse files
use bare device name in fabric_rps
1 parent 2d4fd86 commit a0202b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cc_fabric.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ locals {
883883
rp_device_location = try(rp.rp_location, null)
884884
network_device_ids = try(rp.rp_location, "") == "FABRIC" ? [
885885
for device_name in try(rp.fabric_rps, []) :
886-
try(local.device_name_to_id[device_name], null)
886+
try(local.device_name_to_id[device_name], local.device_name_to_id[local.name_to_fqdn_mapping[device_name]], null)
887887
] : null
888888
}
889889
]

0 commit comments

Comments
 (0)