variable "proxmox_container_template" { type = string default = "local:vztmpl/ct-20240211-nixos-system-x86_64-linux.tar.xz" } locals { proxmox_litterbox_vm_id = 106 proxmox_litterbox_config = jsondecode(file("${path.root}/../systems/litterbox/lxc.json")) proxmox_aya_vm_id = 105 proxmox_aya_config = jsondecode(file("${path.root}/../systems/aya/lxc.json")) proxmox_reimu_vm_id = 104 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_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 proxmox_freeipa_vm_id = 202 } data "proxmox_virtual_environment_vm" "kubernetes" { node_name = "reisen" vm_id = local.proxmox_kubernetes_vm_id } module "hakurei_config" { source = "./system/proxmox/lxc/config" connection = local.proxmox_reisen_connection vm_id = local.proxmox_hakurei_vm_id config = local.proxmox_hakurei_config.lxc } resource "proxmox_virtual_environment_container" "tewi" { node_name = "reisen" vm_id = local.proxmox_tewi_vm_id tags = ["tf"] description = <