Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions gcp/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down