Re:Times I've Messed Up as a Developer
by bg4 on Tuesday October 10, 2017 @11:53AM
(#15442786)
Stop mucking around in production. Stop. Seriously, stop.
[ Parent
| on HN ]
Re:Times I've Messed Up as a Developer
by brianwawok on Tuesday October 10, 2017 @12:24PM
(#15443054)
If you have never screwed up anything in production, no one at your org trusts you enough to give you production access. Which is ok and great for you, but at the end of the day SOMEONE has to have production access. You can write a devops template that wipes out data just as easy as you can sudo rm -rf /
Re:Times I've Messed Up as a Developer
by madamelic on Tuesday October 10, 2017 @12:55PM
(#15443347)
I am much more terrified of Terraform than myself, especially `terraform destroy`. I mean, a human can only do so much so quickly but a script could kill everything semi-instantly.
I look at `terraform plan -destroy` and it still terrifies to destroy an internal service.
Re:Times I've Messed Up as a Developer
by theleftfielder on Tuesday October 10, 2017 @05:56PM
(#15445659)
We actually had a production outage due to a `terraform destroy` typed in production instead of dev.
Re:Times I've Messed Up as a Developer
by optimuspaul on Tuesday October 10, 2017 @12:37PM
(#15443164)
I say that all the time. You automation can be just as dangerous as prod ssh access.
Re:Times I've Messed Up as a Developer
by brianwawok on Tuesday October 10, 2017 @01:04PM
(#15443427)
And in some ways it is worse..
I remember at least one prod incident where a script made it out into prod and wiped out 100s of servers. Something like it had rm -rf /$SOME_ENV_VAR which was set in QA but not prod. Opps....
Imo, it's not about trust, it's about rigor.
Re:Times I've Messed Up as a Developer
by brianwawok on Tuesday October 10, 2017 @02:32PM
(#15444187)
Yah? Good luck with that
I'm talking about day to day mucking around in production by developers, not forbidding all access.