Fundamentals of DevOps and Software Delivery » FAQ

How do you organize large infrastructure codebases?

Infrastructure as Code lets teams manage infrastructure with the same rigor as application code: reviewable changes, automated validation, and repeatable environments. This reduces drift, improves safety, and makes scale manageable.

Practical guidance

  • Structure IaC into reusable modules with clear inputs and outputs.
  • Isolate state per environment and use remote backends with locking.
  • Run plan/validate checks in CI before apply operations.
  • Enforce naming, tagging, and folder conventions to keep repos maintainable.

Relevant chapters from the book