iac/terraform/proxmox/windows.tf

56 lines
810 B
Terraform
Raw Permalink Normal View History

2024-07-12 23:57:29 -04:00
resource "proxmox_virtual_environment_vm" "Windows11" {
name = "windows"
node_name = "pve2"
vm_id = 250
tags = ["tofu"]
2024-11-13 15:36:27 -05:00
started = true
2024-07-12 23:57:29 -04:00
bios = "ovmf"
machine = "q35"
agent {
enabled = true
}
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"
2024-11-13 15:36:27 -05:00
}
2024-07-12 23:57:29 -04:00
operating_system {
type = "win11"
2024-11-13 15:36:27 -05:00
}
audio_device {
enabled = true
}
2024-11-13 15:42:47 -05:00
vga {
memory = 16
type = "qxl"
}
2024-07-12 23:57:29 -04:00
}