variable "subscription_id" { description = "Subscription ID of the subscription for gaming related stuff" type = string 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 default = "wa5p-gaming" } variable "location" { description = "Location for gaming related ressources, should be as close as possible for low latency" type = string default = "westeurope" } variable "vnet_address_space" { description = "List of IP nets for gaming vnet" type = list(string) default = ["10.0.1.0/24"] } variable "gateway_subnet_address_prefixes" { description = "IP prexixes for vpn gateway subnet (currently only one allowed)" type = list(string) default = ["10.0.1.0/25"] } variable "vpn_gateway_sku" { description = "SKU of VPN gateway" type = string default = "VpnGw1" } variable "vpn_client_address_space" { description = "Private IP addresses to be assigned to the connecting clients, must not overlap with any other assignment (in cloud or on premise)" type = list(string) default = ["10.123.1.0/24"] } variable "root_certificate_name" { description = "Name of the root certificate used for vpn authentication (CN in generation command)" type = string default = "p2s-root-01" } variable "workload_subnet_address_prefixes" { description = "IP subnet address prefixes for workload subnet, must be in same vnet as gateway subnet" type = list(string) 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_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 sensitive = true }