change xenorchestra_vm variable

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
Nicolas Boufidjeline 2022-07-01 18:40:17 +02:00
parent 6417039cfd
commit 8971469873
No known key found for this signature in database
GPG Key ID: 8DC009DF411D3BE1

View File

@ -31,7 +31,7 @@ data "xenorchestra_template" "template" {
} }
resource "xenorchestra_vm" "bar" { resource "xenorchestra_vm" "vm_deployed" {
memory_max = var.ram * 1024 * 1024 * 1024 memory_max = var.ram * 1024 * 1024 * 1024
cpus = var.cpu cpus = var.cpu
cloud_config = templatefile("cloud_config.tftpl", { cloud_config = templatefile("cloud_config.tftpl", {
@ -75,7 +75,7 @@ EOF
} }
resource "time_sleep" "wait_30_seconds" { resource "time_sleep" "wait_30_seconds" {
depends_on = [xenorchestra_vm.bar] depends_on = [xenorchestra_vm.vm_deployed]
create_duration = "30s" create_duration = "30s"
} }