Skip to content

Instantly share code, notes, and snippets.

@rts-rob
Created July 9, 2020 14:44
Show Gist options
  • Save rts-rob/2249fcf08987a1ea2f13b0304129bea6 to your computer and use it in GitHub Desktop.
Save rts-rob/2249fcf08987a1ea2f13b0304129bea6 to your computer and use it in GitHub Desktop.
Bash script to get AWS SAM (and AWS CloudFormation) outputs
#!/bin/bash
aws cloudformation describe-stacks \
--stack-name $1 \
--query 'Stacks[].{Name: StackName, Outputs: Outputs}' "${@:2}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment