Compare commits

..

2 Commits

Author SHA1 Message Date
tolerryan
bbea884d51 remove n8n 2026-11-13 01:58:11 -06:00
tolerryan
9712e4f54b Remove openbao 2026-11-13 01:55:16 -06:00
5 changed files with 1 additions and 309 deletions

View File

@@ -1,96 +0,0 @@
terraform {
required_providers {
proxmox = {
source = "bpg/proxmox"
version = "0.114.0"
}
}
}
# ------------------------------------------------------------------
# Optional second disk – create it only when the flag is true.
# ------------------------------------------------------------------
resource "proxmox_virtual_environment_container" "example_template" {
description = "Managed by Terraform"
start_on_boot = var.start_on_boot
unprivileged = var.unprivileged
features {
nesting = var.nesting_enabled
}
wait_for_ip {
ipv4 = true
}
# ---- Disk(s) ----------------------------------------------------
disk {
datastore_id = var.datastore_id # <- primary disk
size = var.disk_size_gb # in GB
}
# ------------------------------------------------------------------
# Mount points – uncomment and set if you need to mount a volume.
# ------------------------------------------------------------------
#mount_point {
# volume = var.mount_volume
# size = "4G"
# path = "/mnt/local"
#}
# ---- Initialization -------------------------------------------------
initialization {
dns {
servers = ["1.1.1.1", "8.8.8.8"]
}
hostname = var.hostname
ip_config {
ipv4 {
address = var.ip_address
gateway = var.gateway
}
}
user_account {
password = var.password
# keys = [trimspace(tls_private_key.example.public_key_openssh)]
}
}
# ---- Network ----------------------------------------------------
network_interface {
name = "veth0"
mtu = 1450
}
node_name = var.node_name
vm_id = var.vm_id
operating_system {
template_file_id = var.template_file_id
type = "debian"
}
tags = [
"deb13",
"terraform",
]
cpu {
cores = var.cores
}
memory {
dedicated = var.memory
swap = var.swap
}
startup {
order = "3"
up_delay = "60"
down_delay = "60"
}
}

View File

@@ -1,51 +0,0 @@
# ---------------------------------------------------------------
# General container settings (things that rarely change)
# ---------------------------------------------------------------
variable "start_on_boot" {
type = bool
default = true
}
variable "unprivileged" {
type = bool
default = true
}
variable "nesting_enabled" {
type = bool
default = true
}
# ---------------------------------------------------------------
# Disk sizes (primary + optional)
# ---------------------------------------------------------------
variable "datastore_id" {
type = string
default = "local-lvm"
}
variable "disk_size_gb" {
type = number
default = 64
}
# ---------------------------------------------------------------
# Initialization specifics
# ---------------------------------------------------------------
variable "hostname" { default = "n8n" }
variable "vm_id" { default = "169" }
variable "ip_address" { default = "192.168.0.69/24" }
variable "gateway" { default = "192.168.0.1" }
variable "password" { default = "example" }
variable "cores" { default = 2 }
variable "memory" { default = 2048 } # Sets dedicated RAM to 2048 MB (2 GB)
variable "swap" { default = 1024 } # Sets swap space to 1024 MB (1 GB)
# ---------------------------------------------------------------
# Node & template file
# ---------------------------------------------------------------
variable "node_name" { default = "ryuk" }
variable "template_file_id" { default = "local:vztmpl/debian-13-custom.tar.zst" }
# ---------------------------------------------------------------
# (Optional) Mount point volume name – set if you enable mounts
# ---------------------------------------------------------------
# variable "mount_volume" { default = "" }

View File

@@ -1,97 +0,0 @@
terraform {
required_providers {
proxmox = {
source = "bpg/proxmox"
version = "0.114.0"
}
}
}
# ------------------------------------------------------------------
# Optional second disk – create it only when the flag is true.
# ------------------------------------------------------------------
resource "proxmox_virtual_environment_container" "example_template" {
description = "Managed by Terraform"
start_on_boot = var.start_on_boot
unprivileged = var.unprivileged
features {
nesting = var.nesting_enabled
}
wait_for_ip {
ipv4 = true
}
# ---- Disk(s) ----------------------------------------------------
disk {
datastore_id = var.datastore_id # <- primary disk
size = var.disk_size_gb # in GB
}
# ------------------------------------------------------------------
# Mount points – uncomment and set if you need to mount a volume.
# ------------------------------------------------------------------
#mount_point {
# volume = var.mount_volume
# size = "4G"
# path = "/mnt/local"
#}
# ---- Initialization -------------------------------------------------
initialization {
dns {
servers = ["1.1.1.1", "8.8.8.8"]
}
hostname = var.hostname
ip_config {
ipv4 {
address = var.ip_address
gateway = var.gateway
}
}
user_account {
password = var.password
# keys = [trimspace(tls_private_key.example.public_key_openssh)]
}
}
# ---- Network ----------------------------------------------------
network_interface {
name = "veth0"
mtu = 1450
}
node_name = var.node_name
vm_id = var.vm_id
operating_system {
template_file_id = var.template_file_id
type = "debian"
}
tags = [
"deb13",
"terraform",
]
cpu {
cores = var.cores
}
memory {
dedicated = var.memory
swap = var.swap
}
startup {
order = "3"
up_delay = "60"
down_delay = "60"
}
}

View File

@@ -1,52 +0,0 @@
# ---------------------------------------------------------------
# General container settings (things that rarely change)
# ---------------------------------------------------------------
variable "start_on_boot" {
type = bool
default = true
}
variable "unprivileged" {
type = bool
default = true
}
variable "nesting_enabled" {
type = bool
default = true
}
# ---------------------------------------------------------------
# Disk sizes (primary + optional)
# ---------------------------------------------------------------
variable "datastore_id" {
type = string
default = "local-lvm"
}
variable "disk_size_gb" {
type = number
default = 64
}
# ---------------------------------------------------------------
# Initialization specifics
# ---------------------------------------------------------------
variable "hostname" { default = "openbao" }
variable "vm_id" { default = "164" }
variable "ip_address" { default = "192.168.0.64/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 = 4 }
# ---------------------------------------------------------------
# Node & template file
# ---------------------------------------------------------------
variable "node_name" { default = "ryuk" }
variable "template_file_id" { default = "local:vztmpl/debian-13-custom.tar.zst" }
# ---------------------------------------------------------------
# (Optional) Mount point volume name – set if you enable mounts
# ---------------------------------------------------------------
# variable "mount_volume" { default = "" }

View File

@@ -76,10 +76,6 @@ module "dashboard" {
source = "./lxc/dashboard"
}
module "n8n" {
source = "./lxc/n8n"
}
module "gitea" {
source = "./lxc/gitea"
}
@@ -92,14 +88,6 @@ module "grail" {
source = "./lxc/grail"
}
#module "grail-2" {
# source = "./lxc/grail-2"
#}
module "openbao" {
source = "./lxc/openbao"
}
module "caddy" {
source = "./lxc/caddy"
}
}