Hi ,deploy server-less application in local-stack through cloud formation template but i start notice account id for cloud formation is 12345789 but for other service it is 00000000 ,so its like cloud formation  try to deploy service in different account 
env = get_environment(env)
    if not role:
        role = get_iam_role(resource, env=env)
    return role_arn(role_name=role, account_id=get_account_id())
def get_iam_role(resource, env=None):
    env = get_environment(env)
    return 'role-%s' % resource
def dynamodb_table_arn(table_name, account_id=None):
    account_id = get_account_id(account_id)
    return 'arn:aws:dynamodb:%s:%s:table/%s' % (get_local_region(), account_id, table_name)
def dynamodb_stream_arn(table_name, account_id=None):
    account_id = get_account_id(account_id)
    return ('arn:aws:dynamodb:%s:%s:table/%s/stream/%s' %
        (get_local_region(), account_id, table_name, timestamp()))
def lambda_function_arn(function_name, account_id=None):
    pattern = 'arn:aws:lambda:.*:.*:function:.*'
    if re.match(pattern, function_name):
        return function_name
    if ':' in function_name:
        raise Exception('Lambda function name should not contain a colon ":"')
    account_id = get_account_id(account_id)
    return pattern.replace('.*', '%s') % (get_local_region(), account_id, function_name)
def lambda_function_name(name_or_arn):
    if ':' not in name_or_arn:
        return name_or_arn
    parts = name_or_arn.split(':')
    
    return parts[6]
def state_machine_arn(name, account_id=None):