From 977e3411a8d5836c7105d1cf0c5782413a3de078 Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Tue, 15 Sep 2026 12:33:10 -0400 Subject: tf cleanup --- terraform/main.tf | 112 ------------------------------------------------------ 1 file changed, 112 deletions(-) (limited to 'terraform/main.tf') 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 -} -- cgit v1.2.3