Install Steam on persistent data disk that is never destroyed by terraform

This commit is contained in:
2025-10-04 14:37:23 +02:00
parent 9a1797c225
commit 3cfe796184
3 changed files with 79 additions and 6 deletions
+24
View File
@@ -59,12 +59,36 @@ variable "vm_size" {
default = "Standard_NG16ads_V620_v1"
}
variable "vm_priority" {
description = "Priority of the VM, can be Regular or Spot. Spot is cheaper, but can be evicted at any time"
type = string
default = "Regular"
}
variable "vm_admin_username" {
description = "VM admin username, password will be generated randomly"
type = string
default = "jona"
}
variable "datadisk_size_gb" {
description = "Size of the persisted datadisk in gb"
type = number
default = 1024
}
variable "datadisk_lun" {
description = "Location identifier, this is used to identify the disk within the VM"
type = string
default = "10"
}
variable "datadisk_drive_letter" {
description = "Drive letter to mount the datadisk to"
type = string
default = "Z"
}
variable "tailscale_authkey" {
description = "Tailscale auth key for unattended login"
type = string