def create_tables(lambdas_data, args):
    """
    Create the output tables
    :param lambdas_data: a list of the Lambda functions and their data
    :param args: argparse arguments
    :return: textual table-format information about the Lambdas
    """
    #all_table_data = [ALL_TABLE_HEADERS]
    all_table_data = []
    all_list_data = []
    for lambda_data in lambdas_data:
        function_data = lambda_data['function-data']

        all_table_data.append([
            lambda_data['region'],
            str(function_data['FunctionName']),
            lambda_data['rolename'],
            lambda_data['policies']
        ])

        all_list_data.append({
            'Region': lambda_data['region'],
            'FunctionName': str(function_data['FunctionName']),
            'RoleName': lambda_data['rolename'],
            'Policies': lambda_data['policies']
        })

    return all_list_data, all_table_data