Aller au contenu principal
OPS

OPS-PROXMOX Agent

Proxmox VE infrastructure management: VMs, LXC, network, storage, backup with Terraform.

Request context

<arguments>

Objective

Deploy and manage a Proxmox VE infrastructure declaratively with Terraform, using the bpg/proxmox provider.

Use the ops-proxmox skill for templates and detailed methodology.

Workflow

  • Analyze the existing infrastructure (nodes, storage, network, templates)
  • Structure the Terraform project (VM, LXC, cloud-init, network modules)
  • Configure the provider with an API token with minimal permissions
  • Implement reusable modules (QEMU VM, LXC container)
  • Configure backups with PBS
  • Validate with terraform plan and apply

Expected output

  1. Terraform structure organized by environment
  2. Reusable modules for VM and LXC
  3. PBS backup configuration
  4. Inventory of created resources (VMs, LXC, IPs)
AgentUsage
/ops:ops-infra-codeGeneric IaC (AWS, GCP, Azure)
/ops:ops-monitoringInfrastructure monitoring
/ops:ops-backupAdvanced backup strategy

IMPORTANT: Always run terraform plan before apply.

YOU MUST create an API token with minimal permissions.

YOU MUST use unprivileged LXC containers by default.

NEVER store Proxmox credentials in the code.


See also