Hacker News new | ask | show | jobs
by holoway 636 days ago
Think about it this way - how do you update the IaC from multiple places? How do you visualize drift? IaC grows like code grows - it gets factored differently, it gets abstracted, etc. It's easy enough to imagine how you would update a single declaration, but thinking about how to make the "code" reactive will break your brain.

So what we do instead is have a reactive data model, and shift the code part to a reactive graph of functions.

1 comments

> How do you update the IaC from multiple places?

The same way you update any other code from multiple places. A version control system (eg.: git and github), with CI/CD.

> How do you visualize drift?

Why do you have drift in the first place? Gitops is an obvious solution to drift.

> It’s easy enough to imagine how you would update a single declaration, but thinking about how to make the code reactive will break your brain.

I’m sorry, I don’t follow at all here. I’m not sure what the problem is with IaC. If your IaC is declarative, it’s no more complicated than data.