Files
remote-gaming/variables.tf
T

73 lines
2.1 KiB
Terraform

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_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
}