diff --git a/modules/nebula/main.tf b/modules/nebula/main.tf index 2010daa..ad7f8f4 100644 --- a/modules/nebula/main.tf +++ b/modules/nebula/main.tf @@ -66,7 +66,7 @@ resource "opennebula_image" "data" { for ds in local.data_disks : "${ds.vm_key}.${ds.name}" => ds } - name = "${each.value.vm_key}-data-${disk.name}" + name = "${each.value.vm_key}-data-${each.value.name}" path = "https://vulcain.cadoles.com/empty_${each.value.size}" datastore_id = var.one_image_ds description = "Data disk of ${each.value.size} for ${each.value.vm_key}"