Elektrine lite

← Feed

@bmarinov@hachyderm.io

Post #1903282

2026-02-08 14:29 UTC

Yesterday I worked on a #terraform postgres module wrapping another #incus module for good two hours. Some hard lessons were learned. So at this point I am three modules deep, reorganizing them as I go while trying to keep things simple and repeatable. Wait for that cloud-init, set up them users and hba conf, lock down config, yadda yadda. I thought that I can wait for postgres to report ready, the port to be up before I hand over to the pg provider which handles the database creation. Connection refused :D time and time again. With feedback loops of a few minutes I wasted quite a bit of time before I figured out I should be building base images with (here) #postgres and not installing it and extensions fresh every time I spin up something. So today it is time to look into distrobuilder finally. And where I can host my own incus/lxc images. :atuin:

Replies (0)

No replies.