Try to fix network id issue

This commit is contained in:
Philippe Caseiro 2021-03-22 21:21:48 +01:00
parent 10218809aa
commit 2f5bd95903
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ module "vms" {
data_image_source = ""
depends = [
opennebula_virtual_network["vnet"]
opennebula_virtual_network.vnet["internet"].id
]
}

View File

@ -71,7 +71,7 @@ resource "opennebula_template" "vm_template" {
for_each = var.network_interfaces
content {
network_id = nic.value.network_id
network_name = nic.value.network_name
model = "virtio"
ip = nic.value.ip
}