Skip to content

Commit

Permalink
addressing outtnl and intmnl feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
robvand committed Jul 15, 2024
1 parent 70c4412 commit a3404bd
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.vzBrCP.dn}/subj-${each.value.name}/intmnl"
dn = "${aci_rest_managed.vzSubj[each.key].dn}/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.vzBrCP.dn}/subj-${each.value.name}/outtmnl"
dn = "${aci_rest_managed.vzSubj[each.key].dn}/outtmnl"
class_name = "vzOutTerm"
content = {
prio = each.value.provider_to_consumer_qos_class
Expand Down

0 comments on commit a3404bd

Please sign in to comment.