Skip to content

Commit

Permalink
Merge pull request #447 from recognizegroup/feature/31597-concurrency…
Browse files Browse the repository at this point in the history
…-app-scale-limit

AB#31597 - added app_scale_limit into windows azure function module
  • Loading branch information
tom-reinders authored Mar 4, 2025
2 parents 3d384a2 + f7d08b9 commit bfe49f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/azure/function_app_windows/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ resource "azurerm_windows_function_app" "function_app" {
always_on = var.always_on
vnet_route_all_enabled = var.route_all_outbound_traffic
use_32_bit_worker = var.use_32_bit_worker
app_scale_limit = var.app_scale_limit

dynamic "application_stack" {
for_each = var.dotnet_version != "" ? [1] : []
Expand Down
6 changes: 6 additions & 0 deletions modules/azure/function_app_windows/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,9 @@ variable "use_32_bit_worker" {
description = "Should the Windows Function App use a 32-bit worker process."
default = true
}

variable "app_scale_limit" {
type = number
description = "Number of workers this function app can scale out to. Only applicable to apps on the Consumption and Premium plan."
default = 0
}

0 comments on commit bfe49f2

Please sign in to comment.