diff --git a/quickstart/101-azure-functions/main.tf b/quickstart/101-azure-functions/main.tf index 9e50a36d..f4741653 100644 --- a/quickstart/101-azure-functions/main.tf +++ b/quickstart/101-azure-functions/main.tf @@ -82,7 +82,7 @@ resource "azurerm_function_app" "functionApp" { resource "azurerm_application_insights" "applicationInsights" { name = local.applicationInsightsName - location = var.appInsightsLocation + location = var.resource_group_location resource_group_name = azurerm_resource_group.rg.name application_type = "web" } \ No newline at end of file diff --git a/quickstart/101-azure-functions/variables.tf b/quickstart/101-azure-functions/variables.tf index f1914d8f..ca1576b6 100644 --- a/quickstart/101-azure-functions/variables.tf +++ b/quickstart/101-azure-functions/variables.tf @@ -26,11 +26,6 @@ variable "storageAccountType" { description = "Storage Account type" } -variable "appInsightsLocation" { - type = string - description = "Location for Application Insights" -} - variable "runtime" { type = string default = "node"