I have contributed a chapter in O’Reilly Media’s book “97 Things Every Cloud Engineer Should Know”. The chapter is based on my article Infrastructure as Code: Principles, Patterns, and Practices.
https://www.oreilly.com/library/view/97-things-every/9781492076728