make the pool name a function of the vm name
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
resource "libvirt_volume" "vm_disk" {
|
||||
count = var.instance_count
|
||||
name = "${var.vm_name}-${count.index}"
|
||||
pool = var.pool_name
|
||||
pool = "${var.vm_name}-pool"
|
||||
source = var.image_location
|
||||
format = "qcow2"
|
||||
|
||||
|
Reference in New Issue
Block a user