# Errors after updating SSM params to new variablesResolutionMode

**URL:** <https://forum.serverless.com/t/errors-after-updating-ssm-params-to-new-variablesresolutionmode/14984>\
**Category:** Serverless Framework\
**Created:** [May 11, 2021, 2:50pm UTC](https://forum.serverless.com/t/errors-after-updating-ssm-params-to-new-variablesresolutionmode/14984 "2021-05-11T14:50:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![levi](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/levi/32/5593_2.png) [@levi](https://forum.serverless.com/u/levi)\
**Post date:** [May 11, 2021, 2:50pm UTC](https://forum.serverless.com/t/errors-after-updating-ssm-params-to-new-variablesresolutionmode/14984/1 "2021-05-11T14:50:54Z")

</div>

I am trying to resolve the following deprecation warning:

`Serverless: Deprecation warning: Syntax for referencing SSM parameters was upgraded with automatic type detection and there's no need to add "~true" or "~split" postfixes to variable references. Drop those postfixes and set "variablesResolutionMode: 20210326" in your service config to adapt to a new behavior. Starting with next major release, this will be communicated with a thrown error.`

I have removed the `~true` postfix and set the `variablesResolutionMode` to `20210326`. Upon doing so, I get the following error from AWS:

`User: arn:aws:iam::500345361576:user/sls is not authorized to perform: ssm:GetParameter on resource: arn:aws:ssm: ********* :500345361576:*`

I have double checked that this IAM user has the requisite permissions and this all works fine if I revert my changes (to not use the new `variablesResolutionMode`).

Any ideas on how to resolve this?

---

<div class="post-metadata">

**Author:** ![shaunc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/shaunc/32/6281_2.png) [@shaunc](https://forum.serverless.com/u/shaunc)\
**Post date:** [October 18, 2021, 4:59pm UTC](https://forum.serverless.com/t/errors-after-updating-ssm-params-to-new-variablesresolutionmode/14984/2 "2021-10-18T16:59:50Z")

</div>

I’m getting the same problem… any suggestions? I presume this is a problem updating old configurations.

**UPDATE** Aha – worked for me after deleting local `.serverless` directory.

---

<div class="post-metadata">

**Author:** ![RedFred7](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/redfred7/32/7012_2.png) [@RedFred7](https://forum.serverless.com/u/RedFred7)\
**Post date:** [August 18, 2022, 10:17am UTC](https://forum.serverless.com/t/errors-after-updating-ssm-params-to-new-variablesresolutionmode/14984/3 "2022-08-18T10:17:03Z")

</div>

This fixed it for me too, thank you!.
