Advertisement
Guest User

was

a guest
Jul 30th, 2015
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.24 KB | None | 0 0
  1. cf_diff_template() {
  2.   if [ -z "$1" ] ; then echo "Usage: $FUNCNAME stack [template]"; return 1; fi
  3.   local stack="$(basename $1 .json)"
  4.   if ! aws cloudformation describe-stacks --stack-name $stack 1>/dev/null; then
  5.     return 1;
  6.   fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement