Skip to content

Commit 831d69d

Browse files
fix: deal with confusing dynamic memory naming (#17)
1 parent 266fa35 commit 831d69d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/vm/main.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ resource "proxmox_virtual_environment_vm" "vm" {
2525
}
2626

2727
memory {
28-
dedicated = min(1024, var.memory)
29-
floating = var.memory
28+
dedicated = var.memory
29+
floating = min(1024, var.memory)
3030
}
3131

3232
bios = "ovmf"

0 commit comments

Comments
 (0)