fix(module): updating default group creation for virtualMachine

This commit is contained in:
Philippe Caseiro 2023-01-20 13:54:37 +01:00
parent f821f97b9e
commit b209942b3d

View File

@ -1,3 +1,8 @@
resource "opennebula_group" "main" {
name = var.group
}
// OpenNebula disk image !
resource "opennebula_image" "system" {
name = local.system_image_name
@ -24,7 +29,7 @@ resource "opennebula_image" "data" {
driver = "qcow2"
format = "qcow2"
permissions = "660"
group = "production"
group = var.group
}
// OpenNebula (VM) Template definition