Skip to content

Commit

Permalink
fix: deal with confusing dynamic memory naming (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsakenHarmony authored Mar 28, 2024
1 parent 266fa35 commit 831d69d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/vm/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ resource "proxmox_virtual_environment_vm" "vm" {
}

memory {
dedicated = min(1024, var.memory)
floating = var.memory
dedicated = var.memory
floating = min(1024, var.memory)
}

bios = "ovmf"
Expand Down

0 comments on commit 831d69d

Please sign in to comment.