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
1 changed files with 2 additions and 0 deletions

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
}