diff --git a/local-app/git-xargs/find-efs-module-sg.sh b/local-app/git-xargs/find-efs-module-sg.sh new file mode 100755 index 00000000..56f2ab33 --- /dev/null +++ b/local-app/git-xargs/find-efs-module-sg.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +LOGFILE="/tmp/output.git-xargs.${XARGS_REPO_NAME}.log" +REPO="$XARGS_REPO_OWNER/$XARGS_REPO_NAME" +echo "# $REPO" |& tee -a $LOGFILE +git grep --all-match -e security_group_ -e source.*efs -n |& tee -a $LOGFILE +echo "" |& tee -a $LOGFILE