AI in Infrastructure as Code

Infrastructure as Code: Delivering Dynamic Systems for the Cloud Age - Kief Morris

Topic 12 of 13

Published Aug 4, 2025 · Clip 46:07–51:40 (5:33)

Kief sees two angles for AI in IaC: coding assistants (with the caveat that you shouldn't vibe-code your infrastructure—you must understand what's generated) and chatbots that provision resources, which he's wary of because they break the core principles of repeatability, consistency, and transparency. Promoting prompts across environments can still yield different results. His preferred picture: AI helps build a deterministic, reusable component (e.g., a secure S3 bucket), while an assistant coaches developers on which components to use. He notes AI coding assistants are weaker for Terraform than for mainstream languages, and AI in operations (troubleshooting, log/metric analysis, even generating corrective pull requests) is promising but still human-in-the-loop.