resource "libvirt_cloudinit_disk" "commoninit" { name = var.cloudinit_filename user_data = templatefile("${path.module}/cloud_init.yaml", { ssh_key = var.ssh_key }) pool = "${var.vm_name}-pool" depends_on = [libvirt_pool.tf_tmp_storage] }