Created
July 9, 2020 14:44
-
-
Save rts-rob/2249fcf08987a1ea2f13b0304129bea6 to your computer and use it in GitHub Desktop.
Bash script to get AWS SAM (and AWS CloudFormation) outputs
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
#!/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