Skip to content

Commit

Permalink
feat: Removed deprecated retention policy from postgres diagnostic se…
Browse files Browse the repository at this point in the history
…ttings (#186)
  • Loading branch information
mamari90 authored Nov 14, 2023
1 parent 4174d98 commit fd96ce7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions postgres_flexible_server/02_monitor_flexible.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,10 @@ resource "azurerm_monitor_diagnostic_setting" "this" {

enabled_log {
category = "PostgreSQLLogs"

retention_policy {
days = 365
enabled = true
}
}

metric {
category = "AllMetrics"
enabled = false

retention_policy {
days = 0
enabled = false
}
}
}

0 comments on commit fd96ce7

Please sign in to comment.