File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -163,9 +163,9 @@ variable "github_runners_default_type" {
163163 validation {
164164 condition = alltrue ([
165165 for value in values (var. github_runners_default_type ) :
166- contains ([" pd-ssd" , " hyperdisk-balanced" ], value. disk_type )
166+ contains ([" pd-ssd" , " pd-balanced " , " hyperdisk-balanced" ], value. disk_type )
167167 ])
168- error_message = " Disk type must be either 'pd-ssd' or 'hyperdisk-balanced'."
168+ error_message = " Disk type must be either 'pd-ssd', 'pd-balanced' or 'hyperdisk-balanced'."
169169 }
170170
171171 validation {
@@ -504,9 +504,9 @@ variable "github_runners_types" {
504504 validation {
505505 condition = alltrue ([
506506 for config in var . github_runners_types :
507- contains ([" pd-ssd" , " hyperdisk-balanced" ], config. disk_type )
507+ contains ([" pd-ssd" , " pd-balanced " , " hyperdisk-balanced" ], config. disk_type )
508508 ])
509- error_message = " Disk type must be either 'pd-ssd' or 'hyperdisk-balanced'."
509+ error_message = " Disk type must be either 'pd-ssd', 'pd-balanced' or 'hyperdisk-balanced'."
510510 }
511511
512512 validation {
You can’t perform that action at this time.
0 commit comments