Skip to content

Commit 9837f31

Browse files
chore: update terraform provider (#23)
1 parent 0397311 commit 9837f31

File tree

6 files changed

+42
-43
lines changed

6 files changed

+42
-43
lines changed

.terraform-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.5.1
1+
1.11.2

.terraform.lock.hcl

Lines changed: 30 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ terraform {
99
required_providers {
1010
proxmox = {
1111
source = "ForsakenHarmony/proxmox"
12-
version = "0.0.0-canary.6523af7d"
12+
version = "0.0.0-canary.46302975"
1313
}
1414
}
1515

16-
required_version = ">= 1.5.0"
16+
required_version = ">= 1.11.0"
1717
}

modules/lxc/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
proxmox = {
44
source = "ForsakenHarmony/proxmox"
5-
version = "0.0.0-canary.6523af7d"
5+
version = "0.0.0-canary.46302975"
66
}
77
}
88
}

modules/vm/main.tf

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
proxmox = {
44
source = "ForsakenHarmony/proxmox"
5-
version = "0.0.0-canary.6523af7d"
5+
version = "0.0.0-canary.46302975"
66
}
77
}
88
}
@@ -17,11 +17,11 @@ resource "proxmox_virtual_environment_vm" "vm" {
1717
name = var.name
1818

1919
cpu {
20-
cores = var.cores
21-
// "x86-64-v2-AES" is best if live migration is needed
22-
type = "host"
23-
numa = true
24-
units = var.weight
20+
architecture = "x86_64"
21+
cores = var.cores
22+
type = "host" // "x86-64-v2-AES" is best if live migration is needed
23+
numa = true
24+
units = var.weight
2525
}
2626

2727
memory {
@@ -47,8 +47,7 @@ resource "proxmox_virtual_environment_vm" "vm" {
4747
# disable because we don't have an xserver
4848
tablet_device = false
4949
vga {
50-
enabled = true
51-
type = "std"
50+
type = "std"
5251
}
5352

5453
scsi_hardware = "virtio-scsi-single"

proxmox/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
proxmox = {
44
source = "ForsakenHarmony/proxmox"
5-
version = "0.0.0-canary.6523af7d"
5+
version = "0.0.0-canary.46302975"
66
}
77
}
88
}

0 commit comments

Comments
 (0)