Files
remote-gaming/modules/ephemeral/variables.tf
T

68 lines
1.8 KiB
Terraform

variable "subscription_id" {
description = "Subscription ID of the subscription for gaming related stuff"
type = string
}
# 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
}
variable "location" {
description = "Location for gaming related ressources, should be as close as possible for low latency"
type = string
}
variable "vnet_address_space" {
description = "List of IP nets for gaming vnet"
type = list(string)
default = ["10.0.1.0/24"]
}
variable "workload_subnet_address_prefixes" {
description = "IP subnet address prefixes for workload 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
}
variable "datadisk_id" {
description = "ID of the persistent datadisk"
type = string
}
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
}