make the pool name a function of the vm name
This commit is contained in:
@@ -3,6 +3,6 @@ resource "libvirt_cloudinit_disk" "commoninit" {
|
||||
user_data = templatefile("${path.module}/cloud_init.yaml", {
|
||||
ssh_key = var.ssh_key
|
||||
})
|
||||
pool = var.pool_name
|
||||
pool = "${var.vm_name}-pool"
|
||||
depends_on = [libvirt_pool.tf_tmp_storage]
|
||||
}
|
Reference in New Issue
Block a user