I built a 3,000-pair Terraform error-fix dataset — and every fix is machine-verified
AI coding assistants are decent at writing Terraform. Ask one to debug a broken config and it falls apart: it guesses, it hallucinates functions, it "fixes" things that were never broken.
I think part of the problem is the training data. Most code datasets teach models to generate code from scratch. Almost none teach them to go from a real error message to a correct fix — because that data barely exists in a clean, verified form.
So I built it: 3,000 Terraform error → fix pairs , where every single fix was machine-verified by actually running terraform validate .…