Skip to content

Commit

Permalink
reverting vzInTerm and vzOutTerm changes
Browse files Browse the repository at this point in the history
  • Loading branch information
robvand committed Jul 12, 2024
1 parent 8e84b95 commit 70c4412
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/terraform-aci-contract/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ resource "aci_rest_managed" "vzRsSubjGraphAtt" {

resource "aci_rest_managed" "vzInTerm" {
for_each = { for subj in var.subjects : subj.name => subj if length(subj.filters) == 0 }
dn = "${aci_rest_managed.vzSubj.dn}/intmnl"
dn = "${aci_rest_managed.vzBrCP.dn}/subj-${each.value.name}/intmnl"
class_name = "vzInTerm"
content = {
prio = each.value.consumer_to_provider_qos_class
Expand All @@ -103,7 +103,7 @@ resource "aci_rest_managed" "vzInTerm" {

resource "aci_rest_managed" "vzOutTerm" {
for_each = { for subj in var.subjects : subj.name => subj if length(subj.filters) == 0 }
dn = "${aci_rest_managed.vzSubj.dn}/outtmnl"
dn = "${aci_rest_managed.vzBrCP.dn}/subj-${each.value.name}/outtmnl"
class_name = "vzOutTerm"
content = {
prio = each.value.provider_to_consumer_qos_class
Expand Down

0 comments on commit 70c4412

Please sign in to comment.