From f7bbeea04e2d59c5f680ff89f73d6321697bd374 Mon Sep 17 00:00:00 2001 From: Ryan Toler Date: Wed, 13 May 2026 06:39:16 +0000 Subject: [PATCH] test --- lxc/grail-2/main.tf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lxc/grail-2/main.tf b/lxc/grail-2/main.tf index e755a51..a3e3a7e 100644 --- a/lxc/grail-2/main.tf +++ b/lxc/grail-2/main.tf @@ -7,6 +7,20 @@ terraform { } } +# --------------------------------------------------------------- +# Cloud‑Init snippet – must live in the same module as the VM +# --------------------------------------------------------------- +resource "proxmox_virtual_environment_file" "cloud_config" { + content_type = "snippets" + datastore_id = "local" + node_name = "pve-node" + + source_raw { + data = file("${path.module}/user-data.yaml") + file_name = "debian-cloud-config.yaml" + } +} + resource "proxmox_virtual_environment_vm" "debian_vm" { name = "debian-bgp-node" node_name = var.node_name