File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ No modules.
5858| <a name =" input_tags " ></a > [ tags] ( #input\_ tags ) | Tags | ` map(string) ` | n/a | yes |
5959| <a name =" input_use_private_net " ></a > [ use\_ private\_ net] ( #input\_ use\_ private\_ net ) | Use private network injection | ` bool ` | ` false ` | no |
6060| <a name =" input_websockets_enabled " ></a > [ websockets\_ enabled] ( #input\_ websockets\_ enabled ) | Enable websockets | ` bool ` | ` false ` | no |
61+ | <a name =" input_worker_count " ></a > [ worker\_ count] ( #input\_ worker\_ count ) | Number of workers | ` number ` | ` null ` | no |
6162
6263## Outputs
6364
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ resource "azurerm_linux_web_app" "this" {
8787 use_32_bit_worker = false
8888 ip_restriction = var. ip_restriction
8989 scm_ip_restriction = var. scm_ip_restriction == null ? var. ip_restriction : var. scm_ip_restriction
90+ worker_count = var. worker_count
9091 application_stack {
9192 docker_image = local. application_stack [" docker_image" ]
9293 docker_image_tag = local. application_stack [" docker_image_tag" ]
Original file line number Diff line number Diff line change @@ -198,3 +198,9 @@ variable "client_affinity_enabled" {
198198 description = " Improve performance of your stateless app by turning Affinity Cookie off, stateful apps should keep this setting on for compatibility"
199199 default = false
200200}
201+
202+ variable "worker_count" {
203+ type = number
204+ description = " Number of workers"
205+ default = null
206+ }
You can’t perform that action at this time.
0 commit comments