def merge_aliases(log, deployed_accounts, aliases):
    """
    Merge account aliases into deployed_accounts lookup table.
    """
    for account in deployed_accounts:
        account['Alias'] = aliases.get(account['Id'], '')
        log.debug(account)
    return deployed_accounts
