move up files to one level and erase default public key
This commit is contained in:
9
shared_modules/volume.tf
Normal file
9
shared_modules/volume.tf
Normal file
@@ -0,0 +1,9 @@
|
||||
resource "libvirt_volume" "vm_disk" {
|
||||
count = var.instance_count
|
||||
name = "${var.vm_name}-${count.index}"
|
||||
pool = "${var.vm_name}-pool"
|
||||
source = var.image_location
|
||||
format = "qcow2"
|
||||
|
||||
depends_on = [libvirt_pool.tf_tmp_storage]
|
||||
}
|
||||
Reference in New Issue
Block a user