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
2 changes: 1 addition & 1 deletion .terraform-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.10.4
1.14.4
1 change: 1 addition & 0 deletions app-insights.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module "application_insights" {
env = var.env
product = var.product

sampling_percentage = var.sampling_percentage

resource_group_name = azurerm_resource_group.darts_resource_group.name

Expand Down
1 change: 1 addition & 0 deletions blob-storage.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ module "sa" {
allow_nested_items_to_be_public = "true"
enable_change_feed = true
private_endpoint_subnet_id = data.azurerm_subnet.private_endpoints.id
public_network_access_enabled = true

enable_data_protection = true

Expand Down
2 changes: 1 addition & 1 deletion locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ locals {
is_migration_environment = contains(local.migration_environments, var.env)
production_environments = ["prod"]
is_production_environment = contains(local.production_environments, var.env)
test_environments = ["test", "demo", "stg"]
test_environments = ["test", "demo", "ithc", "stg"]
is_test_environment = contains(local.test_environments, var.env)
}

Expand Down
4 changes: 2 additions & 2 deletions state.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "4.23.0"
version = "4.59.0"
}
azapi = {
source = "Azure/azapi"
version = "~> 1.15.0"
version = "2.5.0"
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -375,3 +375,8 @@ variable "install_endpoint_protection" {
description = "Install endpoint protection extension"
default = false
}

variable "sampling_percentage" {
default = 100
description = "App insights sampling percentage."
}