News for hackers. Stuff that matters.
Re:Show HN: Generate code and diagrams from live infrastruct... by voidr on Tuesday October 04, 2022 @03:05PM (#33085168)
A while ago I started using the AWS CDK and never looked back, I can write all the infrastructure code in a real programming language with auto complete and proper IDE support, no more hacky YAML syntax for simple if statements!

Issue with using config for these things is that more complex structures don't scale that well, in code you can do abstractions to make everything easier to reason about.

https://aws.amazon.com/cdk/

Re:Show HN: Generate code and diagrams from live infrastruct... by ttfkam on Tuesday October 04, 2022 @07:48PM (#33088848)
And then there are projects like CDK-Dia that are taking infra documentation one step further.

https://github.com/pistazie/cdk-dia