Photo of DeepakNess DeepakNess

Claude Code wiped entire production database

Came across this post on X of an AI horror, that read:

Claude Code wiped our production database with a Terraform command.

It took down the DataTalksClub course platform and 2.5 years of submissions: homework, projects, and leaderboards.

Automated snapshots were gone too.

In the newsletter, I wrote the full timeline + what I changed so this doesn't happen again.

If you use Terraform (or let agents touch infra), this is a good story for you to read.

They have also written about the incident in more detail in this blog post.

Webmentions

What’s this?