60 lines
1.7 KiB
Terraform
60 lines
1.7 KiB
Terraform
variable "subscription_id" {
|
|
description = "Subscription ID of the subscription for gaming related stuff"
|
|
type = string
|
|
default = "90aed1cc-9b7f-4d3d-b2b9-b3654b49835e"
|
|
}
|
|
|
|
variable "prefix" {
|
|
description = "Prefix for gaming related ressources"
|
|
type = string
|
|
default = "wa5p-gaming"
|
|
}
|
|
|
|
variable "location" {
|
|
description = "Locatino 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_admin_username" {
|
|
description = "VM admin username, password will be generated randomly"
|
|
type = string
|
|
default = "jona"
|
|
}
|