Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}