change xenorchestra_vm variable
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
6417039cfd
commit
8971469873
4
main.tf
4
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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user