Skip to content

Instantly share code, notes, and snippets.

Created Sep 21, 2017
What would you like to do?
Find heroku config vars
# Output is ; delimited
for i in $(heroku apps -o $ORG --json | jq -r ".[] | .name"); do
# Find by value:
echo -n "$i;"; heroku config --app $i | awk '{print $2}' | grep -e "$QUERY" | tr -d '\n'; echo '';
# Find by key:
# echo -n "$i;"; heroku config:get $QUERY --app $i | tr -d '\n'; echo '';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment