fix(module): fix variable usage in forbiden place

This commit is contained in:
Philippe Caseiro 2023-01-20 13:20:52 +01:00
parent 9f05f09e5d
commit e8140d8b3f

View File

@ -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" {