From 6173ab4be1a33fa640a922bfbed2f1d17f643c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20B=C3=B6nning?= Date: Tue, 17 Feb 2026 09:14:10 +0100 Subject: [PATCH] Allow to specify `pd-balanced` as a disk type --- gcp/variables.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcp/variables.tf b/gcp/variables.tf index cb60a62..b3637eb 100644 --- a/gcp/variables.tf +++ b/gcp/variables.tf @@ -163,9 +163,9 @@ variable "github_runners_default_type" { validation { condition = alltrue([ for value in values(var.github_runners_default_type) : - contains(["pd-ssd", "hyperdisk-balanced"], value.disk_type) + contains(["pd-ssd", "pd-balanced", "hyperdisk-balanced"], value.disk_type) ]) - error_message = "Disk type must be either 'pd-ssd' or 'hyperdisk-balanced'." + error_message = "Disk type must be either 'pd-ssd', 'pd-balanced' or 'hyperdisk-balanced'." } validation { @@ -492,9 +492,9 @@ variable "github_runners_types" { validation { condition = alltrue([ for config in var.github_runners_types : - contains(["pd-ssd", "hyperdisk-balanced"], config.disk_type) + contains(["pd-ssd", "pd-balanced", "hyperdisk-balanced"], config.disk_type) ]) - error_message = "Disk type must be either 'pd-ssd' or 'hyperdisk-balanced'." + error_message = "Disk type must be either 'pd-ssd', 'pd-balanced' or 'hyperdisk-balanced'." } validation {