Skip to content

Commit

Permalink
updated tenant to use var + ran pre-commit (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
abbasaysha authored Feb 5, 2025
1 parent ba0222b commit aba98e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/terraform-aci-external-endpoint-group/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ resource "aci_rest_managed" "l3extRsSubnetToRtSumm" {
dn = "${aci_rest_managed.l3extSubnet[each.value.prefix].dn}/rsSubnetToRtSumm"
class_name = "l3extRsSubnetToRtSumm"
content = {
tDn = each.value.bgp_route_summarization ? (each.value.bgp_route_summarization_policy != "" ? "uni/tn-${var.tenant}/bgprtsum-${each.value.bgp_route_summarization_policy}" : "uni/tn-common/bgprtsum-default") : (each.value.ospf_route_summarization ? "uni/tn-common/ospfrtsumm-default" : (each.value.eigrp_route_summarization ? "uni/tn-common/eigrprtsumm-eigrp_pol" : null))
tDn = each.value.bgp_route_summarization ? (each.value.bgp_route_summarization_policy != "" ? "uni/tn-${var.tenant}/bgprtsum-${each.value.bgp_route_summarization_policy}" : "uni/tn-common/bgprtsum-default") : (each.value.ospf_route_summarization ? "uni/tn-common/ospfrtsumm-default" : (each.value.eigrp_route_summarization ? "uni/tn-${var.tenant}/eigrprtsumm-eigrp_pol" : null))
}
}

0 comments on commit aba98e7

Please sign in to comment.