terraform/gcp: Allow to change extra disk types (#8524)

This commit is contained in:
Mathieu Parent
2022-02-15 09:22:02 +01:00
committed by GitHub
parent 1ebe456f2d
commit 31d4a38f09
5 changed files with 29 additions and 5 deletions

View File

@@ -181,7 +181,7 @@ resource "google_compute_disk" "master" {
}
name = "${var.prefix}-${each.key}"
type = "pd-ssd"
type = var.master_additional_disk_type
zone = each.value.machine.zone
size = each.value.disk_size
@@ -271,7 +271,7 @@ resource "google_compute_disk" "worker" {
}
name = "${var.prefix}-${each.key}"
type = "pd-ssd"
type = var.worker_additional_disk_type
zone = each.value.machine.zone
size = each.value.disk_size