# Serverless-pseudo-parameters plugin not working

**URL:** <https://forum.serverless.com/t/serverless-pseudo-parameters-plugin-not-working/11859>\
**Category:** Serverless Framework\
**Created:** [June 28, 2020, 8:41am UTC](https://forum.serverless.com/t/serverless-pseudo-parameters-plugin-not-working/11859 "2020-06-28T08:41:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ronberna](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/ronberna/32/6169_2.png) [@ronberna](https://forum.serverless.com/u/ronberna)\
**Post date:** [June 28, 2020, 8:41am UTC](https://forum.serverless.com/t/serverless-pseudo-parameters-plugin-not-working/11859/1 "2020-06-28T08:41:46Z")

</div>

Hello,  
I’m trying to use the serverless-pseudo-parameters plugin in order to access the AWS::AccountId. I’m attempting to use this in the **Resources** section of my serverless.yml file.  
\> resources:

> ```
> Resources:
> MyResource:
> .....
> SourceIdentifier:arn:aws:lambda:${opt:region}:#{AWS::AccountId}:function:${self:service}-${opt:stage}-myfunctionname
> 
> ```

When I try to deploy I get this error:

> Type Error ---------------------------------------------  
> TypeError: Cannot convert undefined or null to object  
> at Function.keys ()  
> at replaceChildNodes (/Users/sandbox/node\_modules/serverless-pseudo-parameters/lib/index.js:71:14)  
> at /Users/sandbox/node\_modules/serverless-pseudo-parameters/lib/index.js:34:7  
> at Array.forEach ()

I am using:  
serverless-pseudo-parameters: “2.5.0”  
Node Version: 12.14.1  
Framework Version: 1.61.1

Any help with this would be appreciated.
