Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- resource "azurerm_function_app" "main" {
- name = "${var.resource-prefix}-analyticsapp"
- location = "${azurerm_resource_group.main.location}"
- resource_group_name = "${azurerm_resource_group.main.name}"
- app_service_plan_id = "${azurerm_app_service_plan.main.id}"
- storage_connection_string = "${azurerm_storage_account.main.primary_connection_string}"
- version = "~2"
- app_settings {
- FUNCTIONS_EXTENSION_VERSION = "~2"
- FUNCTIONS_WORKER_RUNTIME = "dotnet"
- }
- site_config {
- always_on = true
- linux_fx_version = "DOCKER|mcr.microsoft.com/azure-functions/dotnet:2.0-appservice"
- use_32_bit_worker_process = true
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement