Terraform Module for Managing LXD Clusters

Hello Everyone

I’m happy to release our terraform module for working with LXD clusters. The goal of the project is to enable terraform clusters to be managed using infrastructure as code workflow.

The module does the following:

  • Setup networking
  • Setup bastion node
  • Setup compute instances
  • Setup Private Key access
  • Automatically form a cluster
  • Destroy a cluster
  • Enable removal of specific nodes gracefully
  • Protect against database-leader deletion

Demo Video

I’ve also done a quick demo video covering some of the features above

Cloud Provider Support

Currently the module supports 3 providers:

  • amazon aws
  • digitalocean
  • hetzner cloud

We’ll be adding google, microsoft azure.

3 Likes