We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32b88d4 commit 21f89c6Copy full SHA for 21f89c6
terraform/prox-backup-server.tf
@@ -0,0 +1,45 @@
1
+resource "proxmox_virtual_environment_vm" "PBS" {
2
+ # VM General Settings
3
+ node_name = "prox"
4
+ vm_id = 10000
5
+ name = "PBS"
6
+ description = "Proxmox Backup Server"
7
+ tags = ["tofu", "iac-repo"]
8
+ started = true
9
+
10
+ agent {
11
+ enabled = false
12
+ }
13
14
+ # VM CPU Settings
15
+ cpu {
16
+ cores = 2
17
+ type = "host"
18
+ architecture = "x86_64"
19
20
21
+ # VM Memory Settings
22
+ memory {
23
+ dedicated = 2048
24
25
26
+ # VM Network Settings
27
+ network_device {
28
+ bridge = "vmbr0"
29
30
31
+ # VM Disk Settings
32
+ disk {
33
+ datastore_id = "Fast2Tb"
34
+ interface = "scsi0"
35
+ size = 32
36
+ file_format = "raw"
37
38
39
40
+ datastore_id = "Slow4tb"
41
+ interface = "scsi1"
42
+ size = 2048
43
44
45
+}
0 commit comments