Skip to content

Commit 1d97b42

Browse files
authored
Merge branch 'main' into marvinbuss/update_workflows
2 parents 469de14 + 32bbc6d commit 1d97b42

File tree

4 files changed

+0
-48
lines changed

4 files changed

+0
-48
lines changed

code/infra/function.tf

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_service_plan"
2626
for_each = data.azurerm_monitor_diagnostic_categories.diagnostic_categories_service_plan.log_category_groups
2727
content {
2828
category_group = entry.value
29-
retention_policy {
30-
enabled = true
31-
days = 30
32-
}
3329
}
3430
}
3531

@@ -39,10 +35,6 @@ resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_service_plan"
3935
content {
4036
category = entry.value
4137
enabled = true
42-
retention_policy {
43-
enabled = true
44-
days = 30
45-
}
4638
}
4739
}
4840
}
@@ -168,10 +160,6 @@ resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_function" {
168160
for_each = data.azurerm_monitor_diagnostic_categories.diagnostic_categories_function.log_category_groups
169161
content {
170162
category_group = entry.value
171-
retention_policy {
172-
enabled = true
173-
days = 30
174-
}
175163
}
176164
}
177165

@@ -181,10 +169,6 @@ resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_function" {
181169
content {
182170
category = entry.value
183171
enabled = true
184-
retention_policy {
185-
enabled = true
186-
days = 30
187-
}
188172
}
189173
}
190174
}

code/infra/keyvault.tf

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_key_vault" {
4949
for_each = data.azurerm_monitor_diagnostic_categories.diagnostic_categories_key_vault.log_category_groups
5050
content {
5151
category_group = entry.value
52-
retention_policy {
53-
enabled = true
54-
days = 30
55-
}
5652
}
5753
}
5854

@@ -62,10 +58,6 @@ resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_key_vault" {
6258
content {
6359
category = entry.value
6460
enabled = true
65-
retention_policy {
66-
enabled = true
67-
days = 30
68-
}
6961
}
7062
}
7163
}

code/infra/logging.tf

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_application_in
3030
for_each = data.azurerm_monitor_diagnostic_categories.diagnostic_categories_application_insights.log_category_groups
3131
content {
3232
category_group = entry.value
33-
retention_policy {
34-
enabled = true
35-
days = 30
36-
}
3733
}
3834
}
3935

@@ -43,10 +39,6 @@ resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_application_in
4339
content {
4440
category = entry.value
4541
enabled = true
46-
retention_policy {
47-
enabled = true
48-
days = 30
49-
}
5042
}
5143
}
5244
}
@@ -81,10 +73,6 @@ resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_log_analytics_
8173
for_each = data.azurerm_monitor_diagnostic_categories.diagnostic_categories_log_analytics_workspace.log_category_groups
8274
content {
8375
category_group = entry.value
84-
retention_policy {
85-
enabled = true
86-
days = 30
87-
}
8876
}
8977
}
9078

@@ -94,10 +82,6 @@ resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_log_analytics_
9482
content {
9583
category = entry.value
9684
enabled = true
97-
retention_policy {
98-
enabled = true
99-
days = 30
100-
}
10185
}
10286
}
10387
}

code/infra/storage.tf

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,6 @@ resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_storage" {
112112
for_each = data.azurerm_monitor_diagnostic_categories.diagnostic_categories_storage.log_category_groups
113113
content {
114114
category_group = entry.value
115-
retention_policy {
116-
enabled = true
117-
days = 30
118-
}
119115
}
120116
}
121117

@@ -125,10 +121,6 @@ resource "azurerm_monitor_diagnostic_setting" "diagnostic_setting_storage" {
125121
content {
126122
category = entry.value
127123
enabled = true
128-
retention_policy {
129-
enabled = true
130-
days = 30
131-
}
132124
}
133125
}
134126
}

0 commit comments

Comments
 (0)