From 8971469873fd7075d3bbc2bf027df58726686374 Mon Sep 17 00:00:00 2001 From: GnomeZworc Date: Fri, 1 Jul 2022 18:40:17 +0200 Subject: [PATCH] change xenorchestra_vm variable Signed-off-by: GnomeZworc --- main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 681cb75..1d4bb9e 100644 --- a/main.tf +++ b/main.tf @@ -31,7 +31,7 @@ data "xenorchestra_template" "template" { } -resource "xenorchestra_vm" "bar" { +resource "xenorchestra_vm" "vm_deployed" { memory_max = var.ram * 1024 * 1024 * 1024 cpus = var.cpu cloud_config = templatefile("cloud_config.tftpl", { @@ -75,7 +75,7 @@ EOF } resource "time_sleep" "wait_30_seconds" { - depends_on = [xenorchestra_vm.bar] + depends_on = [xenorchestra_vm.vm_deployed] create_duration = "30s" }