I might not deserve to say this, but I really wish Proxmox GmbH maintained an "official" terraform provider instead of relying on the community completely for it, à la Vates (XCP-ng). To be fair, it was the same with VMWare, so I'm not putting the blame on them.

For example, neither one out of the two well known Terraform providers (Telemate and bpg) support the newer SDN capabilities. Now, of course, it's new so I completely understand that it would take time to write code for said functionality. Especially when it's a community effort. It's just that if Proxmox handled it directly I feel like the community would be able to better support them by supplementing features on top of a base that they create instead of going from scratch.

I believe Proxmox has said that Terraform is not their priority, and I understand. It's a bad economy and companies are looking to downsize anyway. With that said, I hope I do get to see this someday.

Speaking of which, which IaC tool do you use for your Proxmox install/cluster?

all 22 comments

sorted by: hot top controversial new old
[–] 14 points 2 years ago (1 child)

I started writing a Terraform provider for Proxmox a while ago.

Unfortunately, the API is a massive mess and the documentation is not very helpful either. It was a nightmare and I eventually gave up.

https://github.com/c10l/terraform-provider-proxmoxve

  • source
  • hideshow 2 child comments
  • [–] [S] 2 points 2 years ago (2 children)

    Very unfortunate. I'm considering OpenStack as an alternative for its support but TBH it's not what I want.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 4 points 2 years ago (1 child)

    I might pick it back up some day but at the moment I have other projects going on at the moment.

    I’m still using Proxmox myself but unfortunately it’s all fairly manually configured.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 6 points 2 years ago (1 child)

    I'm using the bpg provider - but I share your pain. Both providers had things that don't work so I went with the one that supported my use-case better. But it's not ideal.

    I would love an official provider.

  • source
  • hideshow 2 child comments
  • [–] 5 points 2 years ago (1 child)

    even most cloud hosts beyond the big 3 + Digital Ocean don't have an official terraform provider or ansible module it’s pretty ass.

  • source
  • hideshow 2 child comments
  • [–] [S] 2 points 2 years ago (1 child)

    A lot of them do actually. Most mid-tier cloud providers (Linode, Digital Ocean, Vultr) and less expensive providers (IONOS, for example) do have official terraform providers. Smaller providers like Racknerd don't but that is somewhat understandable.

    Incidentally, Porkbun is a known DNS provider which doesn't have terraform support (which is why I'm evaluating Cloudflare in the first place for a domain).

    XCP-ng has an official terraform provider, whilst ESXi and Proxmox don't. The unfortunate part is that there isn't even a provider for KVM, which really sucks.

  • source
  • parent
  • hideshow 2 child comments
  • [–] -5 points 2 years ago

    XCP-ng has an official terraform provider, whilst ESXi and Proxmox don’t. The unfortunate part is that there isn’t even a provider for KVM, which really sucks.

    Use LXD/Incus instead, there's a provider for it.

  • source
  • parent
  • [–] 4 points 2 years ago* (last edited 2 years ago) (1 child)

    Yeah, I feel that. I've settled on telmate's but there's a few things I've had to implement as hacky post creation SSH edits on the config files, such as passing through the Intel GPU to my Jellyfin container.

  • source
  • hideshow 2 child comments
  • [–] [B] 2 points 2 years ago* (last edited 2 years ago)

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

    Fewer Letters More Letters
    DNS Domain Name Service/System
    ESXi VMWare virtual machine hypervisor
    SSH Secure Shell for remote terminal access

    [Thread #522 for this sub, first seen 17th Feb 2024, 20:45] [FAQ] [Full list] [Contact] [Source code]

  • source
  • [+] [B] 0 points 2 years ago
    [–] -3 points 2 years ago
    [–] -5 points 2 years ago* (1 child)

    Well Proxmox doesn't have it... however LXD/Incus has one. Maybe you should try it as a replacement for Proxmox? I mean it's new, new generation software, can be installed in a clean Debian 12 setup from the repositories and does both containers and VMs.

  • source
  • hideshow 2 child comments
  • [–] [S] 1 point 2 years ago (1 child)

    Thanks, it's very new and I'd like to give it some time to mature. With that said, I'm happy to see a SUSE developer take it on.

    It also has some great capabilities and let's me handle my storage and hardware whilst providing me paradigms akin to the Cloud a la Openstack (to an extent). It seems great, thanks for mentioning it.

  • source
  • parent
  • hideshow 2 child comments
  • [–] -2 points 2 years ago (1 child)

    Very new? The thing has been around since 2018. Anyways I know for a fact that a few cloud providers and some enterprise types are using it to power their infrastructure.

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 1 point 2 years ago (1 child)

    Could you tell me which cloud providers are using Incus?

    It's a bit hard to search info about it with the name. But it's a fantastic project

  • source
  • parent
  • hideshow 2 child comments
  • [–] -1 points 2 years ago

    It’s a bit hard to search info about it with the name. But it’s a fantastic project

    Searching for LXD usually returns more useful information... Incus is just a fork as you know.

  • source
  • parent