Use Tailscale and Moonlight to enable remote gaming

This commit is contained in:
2025-10-03 17:36:29 +02:00
parent 7240485238
commit ad2a865010
6 changed files with 128 additions and 70 deletions
+14 -1
View File
@@ -4,6 +4,7 @@ variable "subscription_id" {
default = "90aed1cc-9b7f-4d3d-b2b9-b3654b49835e"
}
# The prefix must not be changed, sice the budget watcher deletes the resource group wa5p-gaming-rg when budget is exceeded
variable "prefix" {
description = "Prefix for gaming related ressources"
type = string
@@ -11,7 +12,7 @@ variable "prefix" {
}
variable "location" {
description = "Locatino for gaming related ressources, should be as close as possible for low latency"
description = "Location for gaming related ressources, should be as close as possible for low latency"
type = string
default = "westeurope"
}
@@ -52,8 +53,20 @@ variable "workload_subnet_address_prefixes" {
default = ["10.0.1.128/25"]
}
variable "vm_size" {
description = "SKU of the vm to be deployed, should be a GPU optimized vm"
type = string
default = "Standard_NG16ads_V620_v1"
}
variable "vm_admin_username" {
description = "VM admin username, password will be generated randomly"
type = string
default = "jona"
}
variable "tailscale_authkey" {
description = "Tailscale auth key for unattended login"
type = string
sensitive = true
}