Forked from amosshapira/list-cloudfornation-stack-outputs
Last active
June 22, 2017 07:56
-
-
Save teambob/02aac95d340af7318b5137c2e5fb2b7c to your computer and use it in GitHub Desktop.
list outputs of a CloudFormation stack in plain text format, one Output per line.
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
# list outputs of a CloudFormation stack in plain text format | |
# one output per line suitable for use in config files or bash file inclusion. | |
# To describe all stacks, leave out the --stack option | |
aws cloudformation describe-stacks \ | |
--stack STACK_NAME \ | |
--query 'Stacks[*].Outputs[*].[OutputKey,OutputValue]' \ | |
--output text |tr '\t' = |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment