/* * Conformance Test: Create Resource * * This file defines the initial resource state for conformance testing. * The conformance test harness will apply this file first. */ amends "@formae/forma.pkl" import "@formae/formae.pkl" import "@proxmox/proxmox.pkl" local testRunID = read("env:FORMAE_TEST_RUN_ID") local stackName = "conformance-test-\(testRunID)" forma { new formae.Stack { label = stackName } new formae.Target { label = "target" config = new proxmox.Config { url: "https://proxmox.mid:8006" node: proxmox } } new proxmox.LXC { label = "test-lxc" vmid = "210" hostname = "test-lxc" description = "some other description" ostemplate = "local:vztmpl/alpine-3.22-default_20250617_amd64.tar.xz" cores = 2 memory = 1024 onboot = 1 networks = new Listing { "name=first,hwaddr=BC:24:11:FD:90:BF,bridge=internal" } } }