feat: usecstompool

This commit is contained in:
Aravinth Manivannan 2023-07-08 15:11:30 +05:30
parent 7733a31986
commit bcf6b9c886
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -42,6 +42,7 @@ resource "libvirt_volume" "domain_centos_master_volume" {
name = "domain_centos_master_volume-${count.index}"
base_volume_id = libvirt_volume.centos8-qcow2.id
count = var.master_count
pool = libvirt_pool.centos_basic.name
size = 85368709120
}
@ -49,6 +50,7 @@ resource "libvirt_volume" "domain_centos_master_volume" {
resource "libvirt_volume" "domain_centos_follower_volume" {
name = "domain_centos_follower_volume-${count.index}"
base_volume_id = libvirt_volume.centos8-qcow2.id
pool = libvirt_pool.centos_basic.name
count = var.follower_count
size = 85368709120
}