from __future__ import print_function
from crassus import Crassus
from crassus.output_converter import OutputConverter


def handler(event, context):
    crassus = Crassus(event, context)
    crassus.deploy()


def cfn_output_converter(event, context):
    """
    Convert an AWS CloudFormation output message to our defined
    ResultMessage format.
    """
    output_converter = OutputConverter(event, context)
    output_converter.convert()

[((7, 14, 7, 37), 'crassus.Crassus', 'Crassus', ({(7, 22, 7, 27): 'event', (7, 29, 7, 36): 'context'}, {}), '(event, context)', False, 'from crassus import Crassus\n'), ((16, 23, 16, 54), 'crassus.output_converter.OutputConverter', 'OutputConverter', ({(16, 39, 16, 44): 'event', (16, 46, 16, 53): 'context'}, {}), '(event, context)', False, 'from crassus.output_converter import OutputConverter\n')]