Skip to content

Commit e3d268e

Browse files
committed
correcting policy_group lookups
1 parent 864ba01 commit e3d268e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

locals.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ locals {
3131
qos_class = false
3232
vpc_domain = false
3333
})
34-
sw_pgs_leaf = lookup(lookup(var.model, "access", {}), "switches", {})
35-
sw_pgs_spine = lookup(lookup(var.model, "access", {}), "switches", {})
34+
sw_pgs_leaf = lookup(lookup(lookup(var.model, "access", {}), "switches", {}), "leaf", {})
35+
sw_pgs_spine = lookup(lookup(lookup(var.model, "access", {}), "switches", {}), "spine", {})
3636
# Defaults: Domains
3737
l3 = local.defaults.access.physical_and_external_domains.l3_domains
3838
phys = local.defaults.access.physical_and_external_domains.physical_domains

0 commit comments

Comments
 (0)