3 ms·
Don’t use yaml or json for (infrastructure) configuration. Use code. Configuration files checked in with source doesn’t make it “configuration as code”. If you
by alkonaut 7y ago
Don’t use yaml or json for (infrastructure) configuration. Use code. Configuration files checked in with source doesn’t make it “configuration as code”. If you don’t want to roll your own tools, there are tools like pulumi for this.
- _frkl 7y agoDo you find that non-declarative configuration works for you for more complex setups? What sort of infrastructure do you typically deal with?
- etaioinshrdlu 7y agoI think the opposite, configuration as data, is better engineering. It's less flexible, yes, but flexibility is not the only goal.
- falcolas 7y agoYaml, and every other configuration language, has gotten complex enough in its interpretation to be its own programming language. Helm charts, for example. Turing complete templating over the top of Turing complete (or damned close if not) k8s configuration objects. We’re already programming in code, just by shoehorning one domain-specific language into another domain.