aboutsummaryrefslogtreecommitdiff
path: root/terraform/main.tf
diff options
context:
space:
mode:
authorKumar Damani <me@kumardamani.net>2026-09-15 16:33:10 +0000
committerKumar Damani <me@kumardamani.net>2026-09-15 16:33:10 +0000
commit977e3411a8d5836c7105d1cf0c5782413a3de078 (patch)
treef4c6c4f3ba7915800df9b069adf290a558cdef97 /terraform/main.tf
parentbe3bde145689c25c7868c6afecebccb328e4ebbf (diff)
tf cleanup
Diffstat (limited to 'terraform/main.tf')
-rwxr-xr-xterraform/main.tf112
1 files changed, 0 insertions, 112 deletions
diff --git a/terraform/main.tf b/terraform/main.tf
index c4a041c..5b83344 100755
--- a/terraform/main.tf
+++ b/terraform/main.tf
@@ -1,73 +1,3 @@
-resource "proxmox_lxc" "minio" {
- target_node = "hesh"
- hostname = "minio"
- ostemplate = "local:vztmpl/debian-12-standard_12.0-1_amd64.tar.zst"
- password = "${var.minio_password}"
- unprivileged = false
- cores = 1
- cpulimit = 2
- memory = 2048
- start = true
- onboot = true
- startup = "order=2,up=30"
-
- ssh_public_keys = <<-EOT
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM9ONfhaHpY0bSk3o81H/eEp+UxQ9RCszJ7p3f+rvcpH kdam0@art-sr
- EOT
-
- rootfs {
- storage = "local-lvm"
- size = "3G"
- }
-
- features {
- mount = "nfs;"
- }
-
- network {
- name = "eth0"
- bridge = "vmbr1"
- tag = 30
- ip = "dhcp"
- mtu = "1420"
- }
-}
-
-resource "proxmox_lxc" "sites" {
- target_node = "hesh"
- hostname = "sites"
- ostemplate = "local:vztmpl/debian-12-standard_12.0-1_amd64.tar.zst"
- password = "${var.sites_password}"
- unprivileged = true
- cores = 1
- cpulimit = 1
- memory = 1024
- start = true
- onboot = true
- startup = "order=3"
-
- ssh_public_keys = <<-EOT
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM9ONfhaHpY0bSk3o81H/eEp+UxQ9RCszJ7p3f+rvcpH kdam0@art-sr
- EOT
-
- rootfs {
- storage = "local-lvm"
- size = "3G"
- }
-
- features {
- fuse = true
- }
-
- network {
- name = "eth0"
- bridge = "vmbr1"
- tag = 30
- ip = "dhcp"
- mtu = "1420"
- }
-}
-
resource "proxmox_lxc" "monitoring" {
target_node = "hesh"
hostname = "monitoring"
@@ -103,43 +33,6 @@ resource "proxmox_lxc" "monitoring" {
}
}
-resource "proxmox_lxc" "nc_kumar" {
- target_node = "hesh"
- hostname = "nc-kumar"
- ostemplate = "local:vztmpl/debian-12-standard_12.0-1_amd64.tar.zst"
- password = "${var.nc_kumar_password}"
- unprivileged = false
- cores = 4
- cpulimit = 0
- memory = 6144
- start = true
- onboot = true
- startup = "order=3"
-
- ssh_public_keys = <<-EOT
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM9ONfhaHpY0bSk3o81H/eEp+UxQ9RCszJ7p3f+rvcpH kdam0@art-sr
- EOT
-
- rootfs {
- storage = "local-lvm"
- size = "15G"
- }
-
- features {
- nesting = true
- fuse = true
- mount = "nfs;"
- }
-
- network {
- name = "eth0"
- bridge = "vmbr1"
- tag = 30
- ip = "dhcp"
- mtu = "1420"
- }
-}
-
resource "proxmox_lxc" "plex" {
target_node = "hesh"
hostname = "plex"
@@ -508,8 +401,3 @@ resource "proxmox_vm_qemu" "s3" {
mtu = 1420
}
}
-
-moved {
- from = proxmox_lxc.nckumar
- to = proxmox_lxc.nc_kumar
-}