Skip to content

Commit e80e3ec

Browse files
committed
Update function definition
1 parent fdbec2d commit e80e3ec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

code/infra/function.tf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ resource "azapi_resource" "function" {
4040
scmSiteAlsoStopped = false
4141
serverFarmId = azurerm_service_plan.service_plan.id
4242
storageAccountRequired = false
43+
vnetContentShareEnabled = true
4344
virtualNetworkSubnetId = azapi_resource.subnet_function.id
45+
vnetRouteAllEnabled = true
4446
siteConfig = {
4547
autoHealEnabled = false
4648
acrUseManagedIdentityCreds = false
@@ -75,7 +77,7 @@ resource "azapi_resource" "function" {
7577
detailedErrorLoggingEnabled = true
7678
functionAppScaleLimit = 0
7779
functionsRuntimeScaleMonitoringEnabled = false
78-
ftpsState = "FtpsOnly"
80+
ftpsState = "Disabled"
7981
http20Enabled = false
8082
ipSecurityRestrictionsDefaultAction = "Deny"
8183
linuxFxVersion = "Python|3.10"
@@ -89,7 +91,6 @@ resource "azapi_resource" "function" {
8991
scmIpSecurityRestrictionsUseMain = false
9092
scmIpSecurityRestrictionsDefaultAction = "Deny"
9193
use32BitWorkerProcess = true
92-
vnetRouteAllEnabled = true
9394
vnetPrivatePortsCount = 0
9495
webSocketsEnabled = false
9596
}

0 commit comments

Comments
 (0)