Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtiomMatiom committed Dec 2, 2024
1 parent 5d6192b commit 7c9d5e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions modules/azure/monitoring_metric_alert/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ resource "azurerm_monitor_metric_alert" "metric_alert" {
description = each.value.description
severity = each.value.severity
enabled = each.value.enabled
frequency = each.value.frequency
frequency = each.value.frequency
window_size = each.value.window_size

criteria {
metric_namespace = each.value.metric_namespace
metric_name = each.value.metric_name
Expand Down
6 changes: 3 additions & 3 deletions modules/azure/monitoring_metric_alert/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ variable "monitoring_rules" {
auto_mitigation_enabled = optional(bool)
severity = optional(number)
enabled = optional(bool)
dimension = optional(object({
name = string,
dimension = optional(object({
name = string,
operator = string,
values = list(string)
values = list(string)
}))
}))
description = "A list of metricts we want to monitor. For details see https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/monitor_metric_alert#argument-reference"
Expand Down

0 comments on commit 7c9d5e0

Please sign in to comment.