Skip to content

Commit

Permalink
Align naming standard for fabricNodeBlk to what apic uses (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
andbyrne authored May 24, 2024
1 parent 4640967 commit 286ee70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/terraform-aci-firmware-group/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ resource "aci_rest_managed" "firmwareRsFwgrpp" {

resource "aci_rest_managed" "fabricNodeBlk" {
for_each = toset([for id in var.node_ids : tostring(id)])
dn = "${aci_rest_managed.firmwareFwGrp.dn}/nodeblk-${each.value}"
dn = "${aci_rest_managed.firmwareFwGrp.dn}/nodeblk-blk${each.value}-${each.value}"
class_name = "fabricNodeBlk"
content = {
name = each.value
name = "blk${each.value}-${each.value}"
from_ = each.value
to_ = each.value
}
Expand Down
4 changes: 2 additions & 2 deletions modules/terraform-aci-maintenance-group/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ resource "aci_rest_managed" "maintRsMgrpp" {

resource "aci_rest_managed" "fabricNodeBlk" {
for_each = toset([for id in var.node_ids : tostring(id)])
dn = "${aci_rest_managed.maintMaintGrp.dn}/nodeblk-${each.value}"
dn = "${aci_rest_managed.maintMaintGrp.dn}/nodeblk-blk${each.value}-${each.value}"
class_name = "fabricNodeBlk"
content = {
name = each.value
name = "blk${each.value}-${each.value}"
from_ = each.value
to_ = each.value
}
Expand Down

0 comments on commit 286ee70

Please sign in to comment.