Claude Code wiped our production database with a Terraform command
101–110 of 167 posts
Re: Claude Code wiped our production database with a Terraform command
#102Re: Claude Code wiped our production database with a Terraform command
#103I rarely say this, but there needs to be a new jargon or a concept for an AI staging environment. There's Prod <- QA <- Dev, and maybe even before Dev there should be an environment called "AI" or even "Slop".
Re: Claude Code wiped our production database with a Terraform command
#104No. YOU wiped you production database. YOU failed to have adequate backups. YOU put Claude Code forward as responsible but it’s just a tool. YOU are responsible, not “the AI did it!”
Re: Claude Code wiped our production database with a Terraform command
#105So even if you delete everything and make sure to keep no backups, amazon can still recover the db. What am i missing here?
Re: Claude Code wiped our production database with a Terraform command
#106Dear lord, imagine this guy teaching you how to build anything in production...
Re: Claude Code wiped our production database with a Terraform command
#107Earlier quoted context omitted.
Considering engineers have made similar mistakes I’m not so sure that’s a great razor, haha
Usually engineers who have not recently been trained on well documented examples of what to do and what not to do and the consequences ;) (Yes, I chose the word "trained" intentionally)
Re: Claude Code wiped our production database with a Terraform command
#108s/Claude Code/unsupervised intern/ and it's the same story, except people might have more sympathy (for the intern).
Do you really think people would have more sympathy for an org that gave the keys to the kingdom to an intern? I think it would be the same "How did you think this was going to go?" conversation.
Re: Claude Code wiped our production database with a Terraform command
#109Re: Claude Code wiped our production database with a Terraform command
#110No staging environment? No prior attempt to follow best practices (e.g. deletion protection in production)? Nor manual gating of production changes? No attempt to review Claude's actions before performing them? No management of Terraform state file? No offline backups? And to top it off, Claude (the supposed expert tool) didn't repeatedly output "Are you insane? No, I'm not working on that." - Clearly Claude wasn't p…
I've also trashed production by "hand" in my previous time as an SRE.
> If the latter, then you cannot defend Claude's failure to act like a senior engineer in this situation.
This is rather black and white. Is it acceptable? No. Is it to be expected of a senior engineer? Yes, at times. If you have any length of career as an engineer or ops person and you tell me that you've never executed problematic commands whether or not caught by security nets, bluntly, you're lying.