# How to set default region so next sls initialization adds region to .yml file

**URL:** <https://forum.serverless.com/t/how-to-set-default-region-so-next-sls-initialization-adds-region-to-yml-file/17114>\
**Category:** Serverless Framework\
**Created:** [May 1, 2022, 8:34pm UTC](https://forum.serverless.com/t/how-to-set-default-region-so-next-sls-initialization-adds-region-to-yml-file/17114 "2022-05-01T20:34:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tgoneil](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/tgoneil/32/6794_2.png) [@tgoneil](https://forum.serverless.com/u/tgoneil)\
**Post date:** [May 1, 2022, 8:34pm UTC](https://forum.serverless.com/t/how-to-set-default-region-so-next-sls-initialization-adds-region-to-yml-file/17114/1 "2022-05-01T20:34:38Z")

</div>

To save an editing step with the serverless.yml file to manually add a region (or save from having to specify --region in the deploy command), is there a way to set initial values (such as region to us-west-2, for example) so that when creating a new project with the ‘serverless’ command those default values get added to the serverless.yml file that gets created?

Seems like $HOME/.serverlessrc would be the appropriate place to have it with something like:

```auto
"defaults": {
    "provider": {
        "region": "us-west-2"
    }
}

```

Thanks!
