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
#!/usr/bin/env bash | |
#You need to have aws-cli installed and configured | |
#Credits to Reddit user u/aa93 for the suggestions | |
mkdir -p code | |
aws lambda list-functions | \ | |
grep FunctionName | \ | |
#Select only matching prefix functions | |
#grep <prefix> | \ | |
cut -d '"' -f4 | \ |