Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. resource "azurerm_function_app" "main" {
  2. name = "${var.resource-prefix}-analyticsapp"
  3. location = "${azurerm_resource_group.main.location}"
  4. resource_group_name = "${azurerm_resource_group.main.name}"
  5. app_service_plan_id = "${azurerm_app_service_plan.main.id}"
  6. storage_connection_string = "${azurerm_storage_account.main.primary_connection_string}"
  7. version = "~2"
  8.  
  9. app_settings {
  10. FUNCTIONS_EXTENSION_VERSION = "~2"
  11. FUNCTIONS_WORKER_RUNTIME = "dotnet"
  12. }
  13.  
  14. site_config {
  15. always_on = true
  16. linux_fx_version = "DOCKER|mcr.microsoft.com/azure-functions/dotnet:2.0-appservice"
  17. use_32_bit_worker_process = true
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement