Skip to content

Commit 8e70194

Browse files
committed
fixing regex
1 parent 37b9a4e commit 8e70194

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

switches-leaf-policy-groups.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ resource "aci_access_switch_policy_group" "switches_leaf_policy_groups" {
8686
) > 0 ? "uni/infra/bfdIpv6Inst-${each.value.bfd_ipv6_policy}" : ""
8787
# class: bfdMhIpv4InstPol
8888
relation_infra_rs_bfd_mh_ipv4_inst_pol = length(regexall(
89-
"^([5-9]|[1-9][0-9]\\.", var.apic_version)
89+
"^([5-9]|[1-9][0-9])\\.", var.apic_version)
9090
) > 0 && length(compact([each.value.bfd_multihop_ipv4_policy])
9191
) > 0 ? "uni/infra/bfdMhIpv4Inst-${each.value.bfd_multihop_ipv4_policy}" : ""
9292
# class: bfdMhIpv6InstPol
9393
relation_infra_rs_bfd_mh_ipv6_inst_pol = length(regexall(
94-
"^([5-9]|[1-9][0-9]\\.", var.apic_version)
94+
"^([5-9]|[1-9][0-9])\\.", var.apic_version)
9595
) > 0 && length(compact([each.value.bfd_multihop_ipv6_policy])
9696
) > 0 ? "uni/infra/bfdMhIpv6Inst-${each.value.bfd_multihop_ipv6_policy}" : ""
9797
# class: equipmentFlashConfigPol

0 commit comments

Comments
 (0)