Skip to content

Commit ec63e08

Browse files
authored
Merge pull request #155 from PerfectThymeTech/marvinbuss/update_function_scaling
Update Function Settings for Premium Plan
2 parents 35ba5ca + 344373e commit ec63e08

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

code/infra/function.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ resource "azapi_resource" "function" {
8787
# }
8888
# }
8989
acrUseManagedIdentityCreds = false
90-
alwaysOn = true
90+
alwaysOn = false
9191
appSettings = [
9292
{
9393
name = "APPLICATIONINSIGHTS_CONNECTION_STRING"
@@ -189,7 +189,7 @@ resource "azapi_resource" "function" {
189189
azureStorageAccounts = {}
190190
detailedErrorLoggingEnabled = true
191191
functionAppScaleLimit = 0
192-
functionsRuntimeScaleMonitoringEnabled = false
192+
functionsRuntimeScaleMonitoringEnabled = true
193193
ftpsState = "Disabled"
194194
healthCheckPath = var.function_health_path
195195
http20Enabled = true
@@ -199,7 +199,7 @@ resource "azapi_resource" "function" {
199199
loadBalancing = "LeastRequests"
200200
minTlsVersion = "1.2"
201201
minTlsCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
202-
minimumElasticInstanceCount = 0
202+
minimumElasticInstanceCount = 1
203203
numberOfWorkers = 1
204204
preWarmedInstanceCount = 0
205205
remoteDebuggingEnabled = false

0 commit comments

Comments
 (0)