make the pool name a function of the vm name

This commit is contained in:
Lukas Greve
2025-09-14 12:15:02 +02:00
parent 79be0a2461
commit bfb5f780c8
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
resource "libvirt_pool" "tf_tmp_storage" {
name = var.pool_name
name = "${var.vm_name}-pool"
type = "dir"
target {
path = var.pool_path