From befec3af7084c6985ff4dadef055d031f0e012ae Mon Sep 17 00:00:00 2001 From: arcnmx Date: Wed, 21 Feb 2024 02:50:15 -0800 Subject: [PATCH] feat(tf): import remaining containers --- tf/proxmox_vms.tf | 164 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 151 insertions(+), 13 deletions(-) diff --git a/tf/proxmox_vms.tf b/tf/proxmox_vms.tf index a67ae2de..c189d5a8 100644 --- a/tf/proxmox_vms.tf +++ b/tf/proxmox_vms.tf @@ -10,8 +10,8 @@ locals { proxmox_reimu_config = jsondecode(file("${path.root}/../systems/reimu/lxc.json")) proxmox_hakurei_vm_id = 103 proxmox_hakurei_config = jsondecode(file("${path.root}/../systems/hakurei/lxc.json")) - proxmox_tei_vm_id = 101 - proxmox_tei_config = jsondecode(file("${path.root}/../systems/tei/lxc.json")) + proxmox_tewi_vm_id = 101 + proxmox_tewi_config = jsondecode(file("${path.root}/../systems/tei/lxc.json")) proxmox_mediabox_vm_id = 102 proxmox_mediabox_config = jsondecode(file("${path.root}/../systems/mediabox/lxc.json")) proxmox_kubernetes_vm_id = 201 @@ -30,17 +30,149 @@ module "hakurei_config" { config = local.proxmox_hakurei_config.lxc } -module "tei_config" { +resource "proxmox_virtual_environment_container" "tewi" { + node_name = "reisen" + vm_id = local.proxmox_tewi_vm_id + tags = ["tf"] + description = <