terraform { required_version = ">= 1.0" required_providers { talos = { source = "siderolabs/talos" version = "~> 0.9" } libvirt = { source = "dmacvicar/libvirt" version = "~> 0.7" } } } provider "libvirt" { uri = "qemu:///system" } # Load variables from a .tfvars file variable "cluster_name" { description = "The name of the Talos cluster" type = string default = "evolved-npcs-cluster" } variable "memory_mb" { description = "Memory for each VM in MB" type = number default = 2048 } variable "vcpu_count" { description = "Number of vCPUs for each VM" type = number default = 2 } variable "talos_version" { description = "The version of Talos to use" type = string default = "v1.11.1" } resource "libvirt_network" "talos_bridge" { name = "my-talos-net" autostart = true xml { file = "control-plane-net.xml" } }