From 99b4a5be59ef0b4f96847c65b574e1731074e1b8 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Mon, 22 Mar 2021 21:48:32 +0100 Subject: [PATCH] Try to fix network depends issue --- terraform/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/main.tf b/terraform/main.tf index e106866..15be071 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -69,7 +69,7 @@ module "vms" { data_image_source = "" depends = [ - opennebula_virtual_network.vnet["internet"].id + opennebula_virtual_network.vnet[each.value.depends[0]].id ] }