From e8140d8b3f6fc3ec9306c9159eb50698a90d2e94 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Fri, 20 Jan 2023 13:20:52 +0100 Subject: [PATCH] fix(module): fix variable usage in forbiden place --- modules/virtualMachine/variables.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/virtualMachine/variables.tf b/modules/virtualMachine/variables.tf index e7dc32f..e41d869 100644 --- a/modules/virtualMachine/variables.tf +++ b/modules/virtualMachine/variables.tf @@ -26,7 +26,7 @@ variable "vm_domain" { variable "system_image_name" { description = "System image disk name" type = string - default = "${var.vm_shortname}.system" + default = "${local.shortname}.system" } variable "system_image_source" { @@ -38,7 +38,7 @@ variable "system_image_source" { variable "data_image_name" { description = "Data image disk name" type = string - default = "${var.vm_shortname}.data" + default = "${local.shortname}.data" } variable "data_image_source" {