Changed appinsights location

This commit is contained in:
Tom Archer 2024-10-31 19:33:38 -07:00
parent 3ee47f573a
commit c02b5a1250
2 changed files with 1 additions and 6 deletions

View File

@ -82,7 +82,7 @@ resource "azurerm_function_app" "functionApp" {
resource "azurerm_application_insights" "applicationInsights" { resource "azurerm_application_insights" "applicationInsights" {
name = local.applicationInsightsName name = local.applicationInsightsName
location = var.appInsightsLocation location = var.resource_group_location
resource_group_name = azurerm_resource_group.rg.name resource_group_name = azurerm_resource_group.rg.name
application_type = "web" application_type = "web"
} }

View File

@ -26,11 +26,6 @@ variable "storageAccountType" {
description = "Storage Account type" description = "Storage Account type"
} }
variable "appInsightsLocation" {
type = string
description = "Location for Application Insights"
}
variable "runtime" { variable "runtime" {
type = string type = string
default = "node" default = "node"