Hacker News new | ask | show | jobs
by gas9S9zw3P9c 2169 days ago
Another benefit that hasn't been mentioned in the comments is that it serves as documentation. As new developers come into your team, you need to describe the infrastructure setup. Having your infrastructure defined in a clean repository is one of the best ways to do that.
2 comments

Well, IaC is way better than nothing but it isn't a substitude for documentation. I had to learn an AWS CloudFormation codebase and although it's pretty clean it's still loaded with quirks (for how stuff worked years ago and to workaround shortcomings of our application).

Most IaC describes how something is configured, you should also describe why something is configured. Most IaO platforms allow you to write comments, make use of it!

cheers!