This repository has been archived on 2024-07-30. You can view files and clone it, but cannot push or open issues or pull requests.
IaC-Homelab/windows.tf

47 lines
695 B
Terraform
Raw Permalink Normal View History

2024-06-24 19:47:57 -04:00
resource "proxmox_virtual_environment_vm" "Windows11" {
name = "windows"
node_name = "pve2"
vm_id = 250
tags = ["tofu"]
2024-06-24 20:04:14 -04:00
started = true
2024-06-24 19:47:57 -04:00
bios = "ovmf"
machine = "q35"
2024-06-24 20:04:14 -04:00
agent {
enabled = true
}
2024-06-24 19:47:57 -04:00
disk {
datastore_id = "Fast500Gb"
interface = "scsi0"
size = 450
}
cpu {
cores = 2
type = "host"
architecture = "x86_64"
}
memory {
dedicated = 8192
}
efi_disk {
type = "4m"
}
network_device {
bridge = "vmbr0"
}
tpm_state {
datastore_id = "Fast500Gb"
version = "v2.0"
}
operating_system {
type = "win11"
}
}