Skip to content
Terraform

Terraform

Three Terraform modules make the VMs and install qfence on them with cloud-init, the way two sites and a witness does by hand:

ModuleMakes
The sites on ProxmoxThe two site VMs, from a cloud-init template
The witness on ProxmoxThe witness VM, beside them
The witness on AWSThe witness on EC2, with a security group that admits only your sites

Each passes terraform validate. The Proxmox modules’ first-boot scripts have been run on Ubuntu 22.04, the OS their template uses, in a container, and the AWS module’s shares their build and install steps. None has yet been applied to a real Proxmox cluster or AWS account: read a module before you apply it.