Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
increase vm volume to 10 gb
Browse files Browse the repository at this point in the history
  • Loading branch information
tsorya committed Apr 6, 2020
1 parent 3bfdda1 commit f5ee301
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions terraform_files/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ resource "libvirt_volume" "master" {
count = var.master_count
name = "${var.cluster_id}-master-${count.index}"
pool = libvirt_pool.storage_pool.name
size = 5368709120
size = 10737418240
}

resource "libvirt_volume" "worker" {
count = var.worker_count
name = "${var.cluster_id}-worker-${count.index}"
pool = libvirt_pool.storage_pool.name
size = 5368709120
size = 10737418240
}

resource "libvirt_network" "net" {
Expand Down Expand Up @@ -62,6 +62,7 @@ resource "libvirt_domain" "master" {

disk {
volume_id = element(libvirt_volume.master.*.id, count.index)

}

disk {
Expand Down

0 comments on commit f5ee301

Please sign in to comment.