Last active
November 30, 2019 09:18
-
-
Save joerx/6e398bb26e5527a948647a15cb76f7f3 to your computer and use it in GitHub Desktop.
Russian roulette, Terraform edition. Because `rm -rf /` doesn't quite cut it anymore.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RISK=5 | |
[[ $(( ( RANDOM % 6 ) + 1 )) -gt $RISK ]] && echo "terraform destroy -target module.production_db -auto-approve" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With great power, etc. - but sometimes the leverage is just scary