Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .terraform-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.1
1.11.2
60 changes: 30 additions & 30 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ terraform {
required_providers {
proxmox = {
source = "ForsakenHarmony/proxmox"
version = "0.0.0-canary.6523af7d"
version = "0.0.0-canary.46302975"
}
}

required_version = ">= 1.5.0"
required_version = ">= 1.11.0"
}
2 changes: 1 addition & 1 deletion modules/lxc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
proxmox = {
source = "ForsakenHarmony/proxmox"
version = "0.0.0-canary.6523af7d"
version = "0.0.0-canary.46302975"
}
}
}
Expand Down
15 changes: 7 additions & 8 deletions modules/vm/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
proxmox = {
source = "ForsakenHarmony/proxmox"
version = "0.0.0-canary.6523af7d"
version = "0.0.0-canary.46302975"
}
}
}
Expand All @@ -17,11 +17,11 @@ resource "proxmox_virtual_environment_vm" "vm" {
name = var.name

cpu {
cores = var.cores
// "x86-64-v2-AES" is best if live migration is needed
type = "host"
numa = true
units = var.weight
architecture = "x86_64"
cores = var.cores
type = "host" // "x86-64-v2-AES" is best if live migration is needed
numa = true
units = var.weight
}

memory {
Expand All @@ -47,8 +47,7 @@ resource "proxmox_virtual_environment_vm" "vm" {
# disable because we don't have an xserver
tablet_device = false
vga {
enabled = true
type = "std"
type = "std"
}

scsi_hardware = "virtio-scsi-single"
Expand Down
2 changes: 1 addition & 1 deletion proxmox/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
proxmox = {
source = "ForsakenHarmony/proxmox"
version = "0.0.0-canary.6523af7d"
version = "0.0.0-canary.46302975"
}
}
}
Loading