dotfiles/tools/find-aws-keys-in-tfstate

3 lines
164 B
Text
Raw Permalink Normal View History

git log --pretty=oneline -- terraform.tfstate | cut -f 1 -d ' ' | xargs git show | ~/tools/find-aws-keys.sh | xargs python ~/tools/find-iam-user-for-access-key.py