iac/terraform/proxmox/prox-backup-server.tf
Matt Reeves 33984b88a9
All checks were successful
OpenTofu Automation / deploy (push) Successful in 12s
init move to tf modules
2024-11-03 01:38:02 -04:00

45 lines
No EOL
769 B
HCL

resource "proxmox_virtual_environment_vm" "PBS" {
# VM General Settings
node_name = "prox"
vm_id = 10000
name = "PBS"
description = "Proxmox Backup Server"
tags = ["tofu", "iac-repo"]
started = true
agent {
enabled = false
}
# VM CPU Settings
cpu {
cores = 2
type = "host"
architecture = "x86_64"
}
# VM Memory Settings
memory {
dedicated = 2048
}
# VM Network Settings
network_device {
bridge = "vmbr0"
}
# VM Disk Settings
disk {
datastore_id = "Fast2Tb"
interface = "scsi0"
size = 32
file_format = "raw"
}
disk {
datastore_id = "Slow4tb"
interface = "scsi1"
size = 2048
file_format = "raw"
}
}