Skip to content

Commit

Permalink
Merge pull request #9 from omartushevskyi/main
Browse files Browse the repository at this point in the history
fix: added default parameters to prevent useless output in terraform …
  • Loading branch information
kharkevich authored Feb 1, 2023
2 parents 65703a8 + d76a05b commit ca51ad6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ resource "azurerm_monitor_diagnostic_setting" "this" {
for_each = data.azurerm_monitor_diagnostic_categories.this[0].metrics
content {
category = metric.value
enabled = true
retention_policy {
enabled = false
days = 0
}
}
}
lifecycle {
Expand Down

0 comments on commit ca51ad6

Please sign in to comment.