It is my understanding that setting an environment varialbe `TEST_AWS_ACCOUNT_ID` for localstack sets that as the AWS account for the user in localstack.

However, setting it does not actually change any ARNs. For example:

1. Start localstack using `TEST_AWS_ACCOUNT_ID="111111111111" DEBUG=1 localstack start`
2. Deploy anything with an ARN (in this example I deployed a lambda)
3. Check the ARN. Example output for lambda:
```json
$ awslocal lambda list-functions
{
    "Functions": [
        {
            "FunctionName": "localtest-local-hello",
            "FunctionArn": "arn:aws:lambda:us-east-1:000000000000:function:localtest-local-hello",
            "Runtime": "nodejs10.x",
            "Role": "test_role",
            "Handler": "handler.hello",
            "CodeSize": 3077,
            "Description": "",
            "Timeout": 6,
            "MemorySize": 1024,
            "LastModified": "2019-11-06T06:43:53.451+0000",
            "CodeSha256": "V77gR13o90ET7+XquXBBc3Rxr1qDu1bE7S+A0Wbx5ys=",
            "Version": "$LATEST",
            "TracingConfig": {
                "Mode": "PassThrough"
            },
            "RevisionId": "3d4ed679-c1a9-4b7e-ad9e-f27e8543c5e9"
        }
    ]
}
```

ARN is still 000000000000
attribute='PhysicalResourceId')
                        except Exception as e:
                            LOG.debug('Unable to extract physical id for resource %s: %s' % (resource_id, e))
                else:
                    if callable(prop_key):
                        prop_value = prop_key(resource_props, stack_name=stack_name, resources=resources)
                    else:
                        prop_value = resource_props.get(prop_key)
                    if prop_value is not None:
                        params[param_key] = prop_value
    
    params = common.merge_recursive(defaults, params)
    
    for param_key, param_value in dict(params).items():
        if param_value is not None:
            param_value = params[param_key] = resolve_refs_recursively(stack_name, param_value, resources)
        
        if str(param_value).lower() in ['true', 'false']:
            params[param_key] = str(param_value).lower() == 'true'
    
    params = json.loads(aws_stack.fix_account_id_in_arns(json.dumps(params)))
    
    params = convert_data_types(func_details, params)
    
    params = remove_none_values(params)
    
    try:
        LOG.debug('Request for creating resource type "%s" in region %s: %s %s' % (
            resource_type, aws_stack.get_region(), func_details['function'], params))
        result = function(**params)