fix(nebula): correct bad variable usage

This commit is contained in:
Philippe Caseiro 2023-03-02 16:16:02 +01:00
parent 0acf9bfc87
commit a8c3955121
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ resource "opennebula_image" "data" {
for ds in local.data_disks : "${ds.vm_key}.${ds.name}" => ds 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}" path = "https://vulcain.cadoles.com/empty_${each.value.size}"
datastore_id = var.one_image_ds datastore_id = var.one_image_ds
description = "Data disk of ${each.value.size} for ${each.value.vm_key}" description = "Data disk of ${each.value.size} for ${each.value.vm_key}"