feat: usecstompool
This commit is contained in:
parent
7733a31986
commit
bcf6b9c886
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue