Structure ponderings #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Making this an issue, 'cos it seemed easier than trying to waffle into IRC.
I like the bits, and it's pretty readable (even with a fairly shaky grasp of nix).
Something I found with the way the tiers are structured though, was that I wasn't sure how I might build my own image without needing to also build a new bucket etc.
Not sure if that might be something that's magically solved via having shared terraform state though?
I'm thinking in terms of these blocks:
The blocks feel like they would get more generic as we move through them - for example, building base images tends to vary quite a bit between providers, installing incus might just need some different variables for stuff like block device names, and installing an app on incus should be the same everywhere.
Would this be a reasonable way to shuffle things:
tier0: generic nixos image at $provider, that can accept a configuration via cloud-init (or something)
tier1: instance roles, configured via injected configuration.nix
tier2: applications on top of incus
tier3: application config
C&P from IRC, so I can find it again :)