re: I was billed for 14k USD on Amazon Web Services 😱 VIEW POST


Just in case no one else mentioned it, if you mistakenly commit a secret to a git repo, you need to make sure to get it out of the git history as well. If you are curious if a git repo has had secrets accidentally committed to it in the past you can use tools like TruffleHog to search for them


You need to consider the secret compromised, and you hate to revoke that key. Cleaning up the history is then a lesser concern...

code of conduct - report abuse