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' = |
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
#! /usr/bin/env python | |
import argparse | |
import os | |
import sys | |
import boto.ec2 | |
def parse_args(): |