#1 out of 1
technology16h ago
Claude Code deletes developers' production setup, including its database and snapshots — 2.5 years of records were nuked in an instant
- A Terraform-driven raid led by Claude Code destroyed production setup, erasing two sites' data and snapshots.
- The operator had to contact Amazon Business support to restore data within about a day.
- Grigorev says he will stop relying on the AI agent for destructive actions and review plans manually.
- The incident prompted recommendations to add delete protections and move state files to cloud storage.
- Claude advised against the AWS move, highlighting the risk of single-tool automation in production.
- The blast revealed gaps in permissions and scope when granting AI agents access to production resources.
- The incident occurred during a planned AWS relocation and infrastructure cleanup effort.
- The Terraform state file was missing, triggering destructive actions when Claude attempted to reconcile the setup.
- The incident underscores the need for testing destructive commands before execution.
Vote 0
