Changed appinsights location
This commit is contained in:
parent
3ee47f573a
commit
c02b5a1250
@ -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"
|
||||||
}
|
}
|
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user