3 ms·
Why not just a text file? Is this the main reason? > Unlike IaC, IaSQL makes the relations between pieces of your infrastructure first-class citizens, enforci
by kwertyoowiyop 5y ago
Why not just a text file? Is this the main reason?
> Unlike IaC, IaSQL makes the relations between pieces of your infrastructure first-class citizens, enforcing type safety on the data and changes to it.
It seems easier to solve that problem via a source-control hook to check a text file, than move over to SQL. But maybe this proposal gets you other things too?
- yawaramin 5y agoYou get: - CHECK constraints, e.g. you can make it impossible to misspell a VM type - Type checks (depending on the database engine), e.g. you can't accidentally put a string where it wants an integer - Foreign key checks so you can't delete some resource if others depend on it - Atomic commits so the entire infra update happens in one shot or not at all.