updating memory

This commit is contained in:
Ryan Toler
2026-04-07 08:19:44 +00:00
parent 4f37ff3696
commit 666c6343aa
4 changed files with 16 additions and 0 deletions

View File

@@ -81,6 +81,12 @@ resource "proxmox_virtual_environment_container" "example_template" {
cores = var.cores
}
memory {
dedicated = var.memory
swap = var.swap
}
startup {
order = "3"
up_delay = "60"

View File

@@ -36,6 +36,8 @@ variable "hostname" { default = "wikmd" }
variable "ip_address" { default = "192.168.0.56/24" }
variable "gateway" { default = "192.168.0.1" }
variable "password" { default = "example" }
variable "memory" { default = 2048 } # Sets dedicated RAM to 2048 MB (2 GB)
variable "swap" { default = 1024 } # Sets swap space to 1024 MB (1 GB)
variable "cores" { default = 1 }
# ---------------------------------------------------------------