add ability to change disk size

This commit is contained in:
Lukas Greve
2025-11-17 21:38:35 +01:00
parent e038dcef97
commit c99938e744
2 changed files with 33 additions and 5 deletions

View File

@@ -16,6 +16,18 @@ variable "pool_path" {
default = "/opt/tf_tmp_storage"
}
variable "disk_size_gb" {
description = "Disk size in GB"
type = number
default = 20
}
variable "disk_size_bytes" {
description = "Disk size in bytes"
type = number
default = 20 * 1024 * 1024 * 1024
}
variable "instance_count" {
description = "Number of instances to create"
type = number