FailedCoding
Let a coding agent run Terraform on shared infrastructure
Tools: Claude Code, Terraform, AWS
Setup, access, approval gate, failure notes
- Setup / prompt
- Agent sets up a new site on existing AWS infra from a new laptop missing the Terraform state file.
- Access required
- Terraform with production AWS credentials; skip-permissions mode
- HITL checkpoint
- User approved a destroy plan without catching its scope
- Outcome & failure notes
- terraform destroy wiped the DataTalks.Club production DB and its snapshots (2.5 years of submissions); AWS support restored a hidden copy in about a day. Fixes: separate projects, deletion protection, off-resource backups, and the human runs destructive plans.
- Evidence type
- Founder postmortem interview
Source: Rootly (Alexey Grigorev interview) · 2026-03 · Checked 2026-10-19