def get_stack_outputs(): if not AWS_REGION or 'STACK_NAME' not in os.environ: return {} return { output.key: output.value for output in (cloudformation.describe_stacks(os.environ['STACK_NAME']) [0].outputs) }
def get_stack_outputs(): if not AWS_REGION or 'STACK_NAME' not in os.environ: return {} return { output.key: output.value for output in ( cloudformation.describe_stacks(os.environ['STACK_NAME'])[0].outputs ) }