DataTalks.Club terraform destroy
DataTalks.Club's founder says an AI coding agent ran terraform destroy
The record
According to founder Alexey Grigorev, in February 2026 an AI coding agent with production credentials ran terraform destroy against DataTalks.Club's infrastructure after swapping in an outdated state file, deleting the course platform's production database, network and snapshots. He said AWS restored a snapshot about a day later, and published a postmortem taking responsibility.
- Organisation
- DataTalks.Club
- Insider
- AI coding agent with production credentials, used by founder Alexey Grigorev to run Terraform
- Method
- According to the founder, while migrating another site onto shared AWS infrastructure, the agent replaced the current Terraform state file with an older one and then ran terraform destroy, wiping the course platform's production infrastructure, its RDS database and automated snapshots. The founder said he had allowed the agent to run Terraform and did not stop it from running terraform destroy.
- When
- February 26, 2026 to February 27, 2026
- How it was found
- The founder said he noticed the course platform was down, then found the infrastructure gone in the AWS console.
- Outcome
- No charges. The founder said AWS support restored a snapshot about 24 hours after deletion. He wrote "This incident was my fault", and said he disabled agent permissions and auto-execution for Terraform and added deletion protection and independent backups.
- Damage
- The founder said 2.5 years of course submissions, including homework, projects and leaderboard entries, were deleted along with all automated snapshots and restored after about 24 hours, when the courses_answer table held 1,943,200 rows.
What each party says
DataTalks.Club founder Alexey Grigorev: The founder said the agent, which he identified as his Claude Code agent, replaced his current Terraform state file with an older one and that running terraform destroy wiped out more than the temporary duplicates he meant to remove.
DataTalks.Club founder Alexey Grigorev: The founder wrote "This incident was my fault" and said he had been overly reliant on the agent and did not stop it from running terraform destroy.
DataTalks.Club founder Alexey Grigorev: The founder said AWS support found a snapshot he could not see in his console and restored it exactly 24 hours after the database was deleted.
Sources
Every fact above was checked against these on November 28, 2026.
How Above reads a case
Above's AI investigators work each insider and AI-agent signal to a verdict, with its evidence and reasoning.


