IaC Anti-patterns and Code Smells

#5 - Infrastructure as Code - Kief Morris

Topic 14 of 17

Published Sep 7, 2020 · Clip 50:08–51:41 (1:33)

Kief identifies major IaC anti-patterns: massive projects that have grown over time (like the two-hour Terraform apply), and managing multiple environments poorly. A common starting mistake is keeping all environments in one project so a break affects everything. The next common anti-pattern is separate projects per environment with copy-pasted code changes between them, losing consistency and reusability. He prefers a single codebase applied across environments with per-environment parameters.