Skip to content

Commit 784938d

Browse files
committed
fix: a change to the rest of the modules to use the new definition of diagnostic settings metrics
1 parent ed16cd3 commit 784938d

8 files changed

Lines changed: 0 additions & 32 deletions

File tree

infrastructure/tf-core/environments/development.tfvars

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,6 @@ container_app_jobs = {
250250
}
251251
}
252252

253-
diagnostic_settings = {
254-
metric_enabled = true
255-
}
256-
257253
function_apps = {
258254
acr_mi_name = "dtos-cohort-manager-acr-push"
259255
acr_name = "acrukshubdevcohman"

infrastructure/tf-core/environments/integration.tfvars

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,6 @@ container_app_jobs = {
250250
}
251251
}
252252

253-
diagnostic_settings = {
254-
metric_enabled = true
255-
}
256-
257253
function_apps = {
258254
acr_mi_name = "dtos-cohort-manager-acr-push"
259255
acr_name = "acrukshubdevcohman"

infrastructure/tf-core/environments/nft.tfvars

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,6 @@ container_app_jobs = {
250250
}
251251
}
252252

253-
diagnostic_settings = {
254-
metric_enabled = true
255-
}
256-
257253
function_apps = {
258254
acr_mi_name = "dtos-cohort-manager-acr-push"
259255
acr_name = "acrukshubdevcohman"

infrastructure/tf-core/environments/preprod.tfvars

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,6 @@ container_app_jobs = {
216216
}
217217
}
218218

219-
diagnostic_settings = {
220-
metric_enabled = true
221-
}
222-
223219
function_apps = {
224220
acr_mi_name = "dtos-cohort-manager-acr-push"
225221
acr_name = "acrukshubprodcohman"

infrastructure/tf-core/environments/production.tfvars

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,6 @@ container_app_jobs = {
203203
}
204204
}
205205

206-
diagnostic_settings = {
207-
metric_enabled = true
208-
}
209-
210206
function_apps = {
211207
acr_mi_name = "dtos-cohort-manager-acr-push"
212208
acr_name = "acrukshubprodcohman"

infrastructure/tf-core/environments/sandbox.tfvars

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,6 @@ container_app_jobs = {
303303
}
304304
}
305305

306-
diagnostic_settings = {
307-
metric_enabled = true
308-
}
309-
310306
function_apps = {
311307
acr_mi_name = "dtos-cohort-manager-acr-push"
312308
acr_name = "acrukshubdevcohman"

infrastructure/tf-core/key_vault.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ module "key_vault" {
1010
log_analytics_workspace_id = data.terraform_remote_state.audit.outputs.log_analytics_workspace_id[local.primary_region]
1111
monitor_diagnostic_setting_keyvault_enabled_logs = local.monitor_diagnostic_setting_keyvault_enabled_logs
1212
monitor_diagnostic_setting_keyvault_metrics = local.monitor_diagnostic_setting_keyvault_metrics
13-
metric_enabled = var.diagnostic_settings.metric_enabled
1413

1514
disk_encryption = var.key_vault.disk_encryption
1615
soft_delete_retention = var.key_vault.soft_del_ret_days

infrastructure/tf-core/variables.tf

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,6 @@ variable "container_app_jobs" {
208208
})
209209
}
210210

211-
variable "diagnostic_settings" {
212-
description = "Configuration for the diagnostic settings"
213-
type = object({
214-
metric_enabled = optional(bool, false)
215-
})
216-
}
217-
218211
variable "function_apps" {
219212
description = "Configuration for function apps"
220213
type = object({

0 commit comments

Comments
 (0)