memory bump

This commit is contained in:
Ryan Toler
2026-03-28 16:13:39 +00:00
parent 30909d8ff6
commit a1857a6098
2 changed files with 11 additions and 4 deletions

View File

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

View File

@@ -32,12 +32,14 @@ variable "disk_size_gb" {
# --------------------------------------------------------------- # ---------------------------------------------------------------
# Initialization specifics # Initialization specifics
# --------------------------------------------------------------- # ---------------------------------------------------------------
variable "hostname" { default = "n8n" } variable "hostname" { default = "n8n" }
variable "ip_address" { default = "192.168.0.69/24" } variable "ip_address" { default = "192.168.0.69/24" }
variable "gateway" { default = "192.168.0.1" } variable "gateway" { default = "192.168.0.1" }
variable "password" { default = "example" } variable "password" { default = "example" }
variable "cores" { default = 2 } variable "cores" { default = 2 }
variable "memory" { defualt = 2048 } # Sets dedicated RAM to 2048 MB (2 GB)
variable "swap" { default = 1024 } # Sets swap space to 1024 MB (1 GB)
}
# --------------------------------------------------------------- # ---------------------------------------------------------------
# Node & template file # Node & template file
# --------------------------------------------------------------- # ---------------------------------------------------------------