# App service plan : per\_site\_scaling

**URL:** <https://discuss.hashicorp.com/t/app-service-plan-per-site-scaling/13341>\
**Category:** Azure\
**Created:** [August 25, 2020, 5:22pm UTC](https://discuss.hashicorp.com/t/app-service-plan-per-site-scaling/13341 "2020-08-25T17:22:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jigeay](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/jigeay/32/10971_2.png) [@jigeay](https://discuss.hashicorp.com/u/jigeay)\
**Post date:** [August 25, 2020, 5:22pm UTC](https://discuss.hashicorp.com/t/app-service-plan-per-site-scaling/13341/1 "2020-08-25T17:22:01Z")

</div>

Hello,

I want to create an app\_service\_plan which would be able to scale up, but il will contain an app service which will be unable to scale.  
To do that, I want to use the [`per_site_scaling`](https://www.terraform.io/docs/providers/azurerm/r/app_service_plan.html#per_site_scaling) but i am unable to find an example or documentation from terraform. Microsoft says that to prevent an app service from scaling out, in such a case, we have to set numberOfWorkers to 1 inside the app service, but i can’t find how to do it using terraform.  
Could you help me ?

Regards,

Jigeay

---

<div class="post-metadata">

**Author:** ![sti291271](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/sti291271/32/15855_2.png) [@sti291271](https://discuss.hashicorp.com/u/sti291271)\
**Post date:** [November 19, 2021, 6:21am UTC](https://discuss.hashicorp.com/t/app-service-plan-per-site-scaling/13341/2 "2021-11-19T06:21:16Z")

</div>

hello,

I have the same issue, i’m able to modify the “numberOfWorkers” of a func App with powershell or with resource manager but not with terraform azurerm.

@jigeay have you find a solution?
