def get_stack_report(stack_id, aws_config):
 output = aws_output(['cloudformation', 'describe-stacks', '--stack-name', stack_id], aws_config)
 results = json.loads(output)
 return results['Stacks'][0]

def get_stack_report ( stack_id , aws_config ) : output = aws_output ( [ 'cloudformation' , 'describe-stacks' , '--stack-name' , stack_id ] , aws_config ) results = json . loads ( output ) return results [ 'Stacks' ] [ 0 ]
get information about a cloudformation stack .