Skip to content

Commit a8a7056

Browse files
author
Matt Cuneo
authoredDec 12, 2021
Update vm.tf.template
1 parent 9881f8b commit a8a7056

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎terraform/vm.tf.template

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
* -------------
77
* [~name~]: Name of the resource, also name of ansible playbook
88
* [~count~]: Number of resources to create (1-9)
9-
* [~template~]: Name of the Proxmox VM template
109
* [~prefix~]: Prefix for the resource (0-9)
1110
* [~cores~]: Number of cores
1211
* [~memory~]: Amount of memory
@@ -20,7 +19,7 @@ resource "proxmox_vm_qemu" "~name~" {
2019
name = ~count~ > 1 ? "~name~-${count.index + 1}" : ~name~
2120
target_node = var.pm_target_node
2221
vmid = "~prefix~${count.index}"
23-
clone = ~template~
22+
clone = var.pm_clone_name
2423

2524
cores = ~cores~
2625
memory = ~memory~

0 commit comments

Comments
 (0)
Failed to load comments.