How to override ssm varible on serverless offline mode

Hi All,

I am newbie in Serverless world and trying to build one solution first time. I have some value that supposed to come from ssm env and for that I used serverless.yml file .
Following is piece of code

test:
name: test
handler: handler.lambda_handler
timeout: 6
environment:
APP_ID: ${ssm:/path/to/ssm/test~true}

As it can be seen APP_ID is variable who’s value is coming from ssm env.
Now when I run serverless offline command then it give me following error.

Serverless Error ---------------------------------------

ServerlessError: Trying to populate non string value into a string for variable ${ssm:/path/to/ssm/test~true}. Please make sure the value of the property is a string.
at Variables.populateVariable (E:\Users\someuser\AppData\Roaming\npm\node_modules\serverless\lib\classes\Variables.js:464:13)
at Variables.renderMatches (C:\Users\someuser\AppData\Roaming\npm\node_modules\serverless\lib\classes\Variables.js:386:21)
at C:\Users\someuser\AppData\Roaming\npm\node_modules\serverless\lib\classes\Variables.js:406:29
From previous event:

Can someone help to fix it , how can I populate this local variable value to in serverless offline mode