Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teambob/02aac95d340af7318b5137c2e5fb2b7c to your computer and use it in GitHub Desktop.
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.
# 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