AI is writing more of your Terraform
TL;DR OverviewAI-generated Terraform fails in four recurring ways (permissive defaults, missing security blocks, hardcoded values, and stale provider patterns) that map to the same misconfigurations behind real cloud breaches.Peer-reviewed benchmarks from NeurIPS 2024, FSE 2026, and ICSE 2026 show frontier LLMs pass real-world Terraform tasks at rates below 40%, with HCL specifically harder for AI than YAML and JSON-based IaC.terraform validate and terraform plan will not catch these failures because they verify syntax and state delta rather than security posture, which requires semantic analysis.SonarQube covers Terraform from authoring to merge: IDE feedback via SonarQube for IDE, pull
…