From a8c3955121484fb5ffd1a71471f9e38a6d2d5530 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Thu, 2 Mar 2023 16:16:02 +0100 Subject: [PATCH] fix(nebula): correct bad variable usage --- modules/nebula/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"