Skip to content

Instantly share code, notes, and snippets.

@joerx
Last active November 30, 2019 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joerx/6e398bb26e5527a948647a15cb76f7f3 to your computer and use it in GitHub Desktop.
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.
RISK=5
[[ $(( ( RANDOM % 6 ) + 1 )) -gt $RISK ]] && echo "terraform destroy -target module.production_db -auto-approve"
@joerx
Copy link
Author

joerx commented Nov 30, 2019

With great power, etc. - but sometimes the leverage is just scary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment