Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions infrastructure/modules/app-insights/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ resource "azurerm_application_insights" "appins" {
workspace_id = var.log_analytics_workspace_id
application_type = var.appinsights_type

internet_ingestion_enabled = var.internet_ingestion_enabled
internet_query_enabled = var.internet_query_enabled

tags = var.tags
}
12 changes: 12 additions & 0 deletions infrastructure/modules/app-insights/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,18 @@ variable "action_group_id" {
default = null
}

variable "internet_ingestion_enabled" {
type = bool
description = "Whether public internet ingestion is enabled for Application Insights."
default = true
}

variable "internet_query_enabled" {
type = bool
description = "Whether public internet querying is enabled for Application Insights."
default = true
}

locals {
alert_window_size = var.alert_frequency
}
Loading