try to fix depends

This commit is contained in:
Philippe Caseiro 2021-03-22 21:13:02 +01:00
parent b95cc9094a
commit 196c4b58d4
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,5 @@ virtual_machines = {
source = "http://localhost/fabrica/infra/production/scribe.fabrica.local/system/scribe.fabrica.local"
}
},
depends = [ opennebula_virtual_network.production.id ]
}
}

View File

@ -68,7 +68,9 @@ module "vms" {
system_image_source = each.value.disks.system.source
data_image_source = ""
depends = each.value.depends
depends = [
opennebula_virtual_network["vnet"]
]
}