We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66c4b47 commit 25a0256Copy full SHA for 25a0256
terraform-infrastructure/main.tf
@@ -89,7 +89,17 @@ resource "azurerm_linux_function_app" "function_app" {
89
}
90
91
92
- depends_on = [azurerm_service_plan.asp]
+ app_settings = {
93
+ "FUNCTIONS_WORKER_RUNTIME" = "python"
94
+ "WEBSITE_RUN_FROM_PACKAGE" = "1"
95
+ "APPINSIGHTS_INSTRUMENTATIONKEY" = azurerm_application_insights.appinsights.instrumentation_key
96
+ "APPLICATIONINSIGHTS_CONNECTION_STRING" = azurerm_application_insights.appinsights.connection_string
97
+ }
98
+
99
+ depends_on = [
100
+ azurerm_service_plan.asp,
101
+ azurerm_application_insights.appinsights
102
+ ]
103
104
provisioner "local-exec" {
105
command = "echo Function App: ${self.name}"
0 commit comments