Skip to content

Commit e913d02

Browse files
authored
Merge pull request #38 from hexa2k9/feature-allow-pd-balanced-disk-type
Allow to specify `pd-balanced` as a disk type
2 parents 0273199 + 6173ab4 commit e913d02

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

gcp/variables.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)