Brad Lucas

Programming, Clojure and other interests
June 28, 2017

Diff Heroku Configs

Here is a script that was created to diff the configurations between two Heroku apps. This came about when configuring and testing a development and a production Heroku system. In this case you want to know how they differ.

#!/bin/bash

APP1=$1
APP2=$2

CMD="diff <(heroku config --app $APP1) <(heroku config --app $APP2)"
echo $CMD

eval $CMD
Tags: bash