terraform

  1. F

    Proxmox with Terraform and Ansible

    Hi. Im trying to use Terraform to build VMs on proxmox and config them with Ansible. Does someone have a sample code or playbooks for ansible. I have some stuggels getting everything together. Hopefully someone can help me.
  2. C

    Windows Server 2022 with Cloud-init and Terraform

    Hi all, I'm trying to prepare Windows Server 2022 template so that it could be deployed with Terraform. I've managed to create new WS2022 VM, install Cloud-Init on it and do a sysprep. After VM is created by Terraform I'm stuck on language selection screen and don't know how to proceed further...
  3. S

    500 unable to parse directory volume name

    Hello. I get this error after terraform apply: Error: error creating VM: 500 unable to parse directory volume name 'ubuntu-20.04.5-live-server-amd64.iso', error status: {"data":null} (params: map[agent:0 args: bios:seabios boot:c bootdisk:scsi0 cores:2 cpu:host description...
  4. M

    [SOLVED] Cloud-Init Drive Not Auto-Regenerating

    Hello, I am experiencing an issue with the CloudInit Drive 'auto-regenerating' after a clone, a virtual hardware hotswap, or even a reboot. The Regenerate Image button must be manually clicked in the GUI. I have used Packer to create an image of Alma 9 Linux with cloud-init installed. It also...
  5. R

    Terraform network configure Debian

    Hello! https://registry.terraform.io/providers/Telmate/proxmox/latest/docs/resources/vm_qemu#preprovision-for-linux-ubuntu--centos The documentation states that only Ubuntu / Centos distributions can be used to configure a network without cloud-init Is it possible to set up a network like...
  6. C

    Error: error from PVE: "500 QEMU guest agent is not running"

    Hi everyone, I've several days trying to deploy a virtual machine and I'm stuck with this: 1. First I make a template by executing the following commands: qm create 9002 --memory 3072 --net0 virtio,bridge=vmbr1 qm importdisk 9002 debian-11-generic-amd64-20210814-734.qcow2 R51_3-17 qm...
  7. P

    Cloud-init ready image fails to set login credentials from a terraform script

    Hi, I would like to provision basic architecture consisting of several master, agent and balancer VMs, totaling at 8 resources. All of the VMs are to be cloned from a prepared cloud-init ready VM template using a Terraform script. When cloning from a template with login credentials already...
  8. A

    [SOLVED] Strange behaviour after reboot

    My Proxmox Hypervisor 6.3-2 behaves really strange after reboot. It was used to test terraform deployment and after reboot it changed his hostname to one of the machines that were deployed by Terraform. Now I cannot access the 8006 port and it also has got out of the cluster. The logs says that...
  9. C

    Official Terraform Provider?

    Hello, are there any plans to develop and release an official Terraform Provider so we don't have to rely on 3rd parties? If yes, that would give us more confidence in going the Proxmox Path for Kubernetes Clusters :) Cheers!
  10. J

    OpenAPI/Swagger REST API Spec

    Hi! First time user of Proxmox. Looking to automate and store my infrastructure changes as code using Terraform. Found a Proxmox Terraform plugin, but it only covers basic details, not the full suite of options available via the REST API. I was looking into adding to it when I noticed that the...
  11. S

    Terraform Proxmox - Error: 400 Parameter verification failed.

    Hello, I'm making use of the proxmox terraform repo (https://github.com/Telmate/terraform-provider-proxmox/) which has been great to use but there is one bug/issue that I've come across. Promox VE 6.1 Terraform 0.12.14 What I am trying to do: I am trying to provision 3 compute...
  12. U

    Automate deploying Windows Server 2019 with Terraform and Cloudbase-init

    Good evening Proxmox community, I use the Terraform-proxmox-provider for automated deploying of Windows Server 2019 instances. https://github.com/Telmate/terraform-provider-proxmox I prepared a Windows Server 2019. Installed Cloudbase-init and configured the cloudbase-init.conf and...
  13. A

    API Questions

    Hello, I'm currently working on an API client in Go as well as a Terraform provider, and I have a few questions regarding the API: The API wiki mentions the use of JSON Schema, however I haven't been able to find any information on the schema files themselves. Are they publicly available...
  14. M

    Terraform provider?

    http://terraform.io is a hypervisor-agnostic way of specifying a set of virtual machines, the networking between them and associated services (such as DNS). It has broad support for many clouds (AWS, Digital Ocean, Azure) and in-house (VMWare, OpenStack) computing resources, together with a...