Skip to content

Commit

Permalink
Fix Azure volume definition in terraform_data.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Jun 29, 2024
1 parent cf1d050 commit 104f587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure/infrastructure.tf
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ locals {
pv_key => {
for name, specs in pv_values:
name => merge(
{ glob = "/dev/disk/azure/scsi1/lun${index(module.design.volume_per_instance[x], replace(pv_key, "${x}-", ""))}" },
{ glob = "/dev/disk/azure/scsi1/lun${index(module.design.volume_per_instance[x], "${pv_key}-${name}")}" },
specs,
)
} if contains(values.tags, pv_key)
Expand Down

0 comments on commit 104f587

Please sign in to comment.