variable "username" { description = "VK Cloud username" type = string } variable "password" { description = "VK Cloud password" type = string sensitive = true } variable "project_id" { description = "Project ID" type = string } variable "region" { description = "Region" type = string default = "ME1" } variable "ssh_key_name" { description = "Name of SSH key pair in VK Cloud" type = string } variable "router_count" { description = "Number of IaaS Router VMs to provision" type = number default = 2 validation { condition = var.router_count >= 1 error_message = "router_count must be at least 1." } } variable "private_supernet" { description = "Address pool from which each router's private per-interface subnets are carved (must not overlap router-lan-subnet 10.200.10.0/24)" type = string default = "10.90.0.0/16" } variable "private_subnet_prefix_length" { description = "Prefix length of each router's private interface subnet (/29 or /28)" type = number default = 29 validation { condition = contains([28, 29], var.private_subnet_prefix_length) error_message = "private_subnet_prefix_length must be 28 or 29." } } variable "router_availability_zones" { description = "Availability zones to spread router VMs across (cycled via count.index)" type = list(string) default = ["ME1"] } variable "private_interface_count" { description = "Number of isolated private interfaces per router VM (in addition to the single public/WAN interface)" type = number default = 2 validation { condition = var.private_interface_count >= 1 error_message = "private_interface_count must be at least 1." } }