# Cannot Specify Region When Deploying

**URL:** <https://forum.serverless.com/t/cannot-specify-region-when-deploying/12833>\
**Category:** Serverless Framework\
**Created:** [October 12, 2020, 2:42pm UTC](https://forum.serverless.com/t/cannot-specify-region-when-deploying/12833 "2020-10-12T14:42:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxweng](https://avatars.discourse-cdn.com/v4/letter/m/ea666f/32.png) [@maxweng](https://forum.serverless.com/u/maxweng)\
**Post date:** [October 12, 2020, 2:42pm UTC](https://forum.serverless.com/t/cannot-specify-region-when-deploying/12833/1 "2020-10-12T14:42:52Z")

</div>

Hey guys, I tried to deploy a test lambda function, but seems it always deploys to the default region `us-east-1`. I can’t change it either by setting the region in the `serverless.yml` file or by specifying it with `--region` parameter.

Can anyone shed some light on this?
