# Calling this.serverless.variables.populateService with the new variablesResolutionMode: 20210326

**URL:** <https://forum.serverless.com/t/calling-this-serverless-variables-populateservice-with-the-new-variablesresolutionmode-20210326/16853>\
**Category:** Serverless Framework\
**Tags:** variables\
**Created:** [March 7, 2022, 9:42pm UTC](https://forum.serverless.com/t/calling-this-serverless-variables-populateservice-with-the-new-variablesresolutionmode-20210326/16853 "2022-03-07T21:42:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![af-mikecrowe](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/af-mikecrowe/32/6668_2.png) [@af-mikecrowe](https://forum.serverless.com/u/af-mikecrowe)\
**Post date:** [March 7, 2022, 9:42pm UTC](https://forum.serverless.com/t/calling-this-serverless-variables-populateservice-with-the-new-variablesresolutionmode-20210326/16853/1 "2022-03-07T21:42:04Z")

</div>

Hey everybody, when writing a plugin, I’ve read where `this.serverless.variables.populateService` (see [this link](https://github.com/serverless/serverless/issues/8628#issuecomment-906351055)) calls the old variable resolver. However, I cannot find any information on how to populate the service with the new variable resolver (i.e. `variablesResolutionMode: 20210326`). Can anybody point me in the right direction?
