Claude Code ran terraform destroy and wiped DataTalks.Club production
During a migration to AWS, a Claude Code agent working without the current Terraform state concluded no infrastructure existed and proposed running terraform destroy. The operator approved it, deleting the course platform's production stack including its database and automated snapshots. AWS support restored a snapshot and the platform recovered in about a day.
- Disclosed
- Feb 2026
- Organization
- DataTalks.Club
- Vendor
- Anthropic
- Model
- Claude
- Product
- Claude Code
- Type of AI
- Coding assistant
- How it happened
- Agent misbehaviour: Destructive action
- Harm
- Data destroyed
- Data involved
- Personal data
- Reach
- One organization
- Severity
- High
- Model at fault
- Yes
- Status
- Confirmed
Sources
- https://alexeyondata.substack.com/p/how-i-dropped-our-production-database
- https://www.tomshardware.com/tech-industry/artificial-intelligence/claude-code-deletes-developers-production-setup-including-its-database-and-snapshots-2-5-years-of-records-were-nuked-in-an-instant
- https://incidentdatabase.ai/cite/1424