Bots Write Bad Terraform and it’s All Your Fault

LLMs are only as good as their training data. When it comes to Terraform, much of the publicly available code is pretty bad. This results in bots generating poor quality Terraform. It gets worse. Researchers have warned about model collapse . This is a very real problem with Terraform. LLMs generate bad Terraform, engineers who don’t know any better publish the code, this becomes training data.…