Skip to content

Commit 7df0ddb

Browse files
committed
Update function config
1 parent 8dce5cf commit 7df0ddb

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

code/infra/function.tf

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -69,23 +69,23 @@ resource "azapi_resource" "function" {
6969
storageAccountRequired = false
7070
vnetContentShareEnabled = true
7171
vnetImagePullEnabled = false # Set to 'true' when pulling image from private Azure Container Registry
72+
vnetRouteAllEnabled = true
7273
virtualNetworkSubnetId = azapi_resource.subnet_function.id
73-
vnetRouteAllEnabled = true
7474
siteConfig = {
75-
autoHealEnabled = true
76-
autoHealRules = {
77-
actions = {
78-
actionType = "LogEvent"
79-
}
80-
triggers = {
81-
statusCodes = [
82-
"429",
83-
"504",
84-
"507",
85-
"508"
86-
]
87-
}
88-
}
75+
# autoHealEnabled = true
76+
# autoHealRules = {
77+
# actions = {
78+
# actionType = "LogEvent"
79+
# }
80+
# triggers = {
81+
# statusCodes = [
82+
# "429",
83+
# "504",
84+
# "507",
85+
# "508"
86+
# ]
87+
# }
88+
# }
8989
acrUseManagedIdentityCreds = false
9090
alwaysOn = true
9191
appSettings = [
@@ -182,7 +182,7 @@ resource "azapi_resource" "function" {
182182
localMySqlEnabled = false
183183
loadBalancing = "LeastRequests"
184184
minTlsVersion = "1.2"
185-
minTlsCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
185+
# minTlsCipherSuite = "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
186186
minimumElasticInstanceCount = 0
187187
numberOfWorkers = 1
188188
preWarmedInstanceCount = 0
@@ -198,7 +198,7 @@ resource "azapi_resource" "function" {
198198
}
199199
})
200200

201-
schema_validation_enabled = false
201+
# schema_validation_enabled = false
202202
# ignore_body_changes = [
203203
# "properties.siteConfig.appSettings"
204204
# ]

0 commit comments

Comments
 (0)