- Home
- Incident Database
- Claude Code's Terraform destroy wiped production data
Rogue Log · case 40 of 59
Claude Code ran a Terraform destroy that wiped production data
Developer Alexey Grigorev was moving a site onto shared AWS infrastructure with Claude Code using Terraform. After a missing state file led to duplicate resources, Claude used the restored state file to run a Terraform destroy so it could rebuild cleanly, which also wiped the DataTalks.Club production setup, including a database with 2.5 years of records and the snapshots he relied on as backups. Amazon support restored the data in about a day, and he has since stopped letting the agent run Terraform commands.
- Rogue Scale
- 5 Breakout
- Date
- Mar 7, 2026
- Setting
- Real world
- Category
- Data destruction