def _parse_fingerprint_terraform(line, host=None):
    """Parse SSH host fingerprint from terraform output line"""
    fingerprint = None
    if line.find('(remote-exec)') > 0:
        host = line.split(' ')[0].split('.')[-1]
        fingerprint = line.split(': ', 2)[1]
    return host, fingerprint