Skip to content

Commit 045f882

Browse files
authored
Merge pull request #19 from telekom-mms/update_config
chore(config): standardize renovate.json and update repository topics
2 parents e28485e + cb75caa commit 045f882

10 files changed

Lines changed: 777 additions & 771 deletions

File tree

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* eol=lf

.github/settings.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@
55
"default_branch": "main",
66
"homepage": "https://telekom-mms.github.io/terraform-template",
77
"topics": [
8-
"terraform",
9-
"azure"
8+
"azure",
9+
"monitor-action-group",
10+
"monitor-activity-log-alert",
11+
"monitor-diagnostic-setting",
12+
"monitor-scheduled-query-rules-alert",
13+
"terraform"
1014
]
1115
}
1216
}

.github/workflows/terrascan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ jobs:
1515
with:
1616
iac_type: terraform
1717
iac_dir: ./tests
18-
policy_type: all
18+
policy_type: azure
1919
non_recursive: true

LICENSE

Lines changed: 353 additions & 353 deletions
Large diffs are not rendered by default.

examples/full_main.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module "monitor" {
4848

4949
monitor_diagnostic_setting = {
5050
diag-mms-github = {
51-
target_resource_id = module.key_vault.key_vault["kv-mms-github"].id
51+
target_resource_id = module.key_vault.key_vault["kv-mms-github"].id
5252
log_analytics_workspace_id = module.log_analytics_workspace.log_analytics_workspace["law-mms-github"].id
5353
log = {
5454
category = ["AuditEvent"]
@@ -109,15 +109,15 @@ module "monitor" {
109109
operator = "GreaterThan"
110110
threshold = 80
111111
metric_trigger = {
112-
metric_column = "Computer"
113-
metric_trigger_type = "Consecutive"
114-
operator = "GreaterThan"
115-
threshold = 1
112+
metric_column = "Computer"
113+
metric_trigger_type = "Consecutive"
114+
operator = "GreaterThan"
115+
threshold = 1
116116
}
117117
}
118118
action = {
119-
action_group = []
120-
email_subject = "High CPU Alert"
119+
action_group = []
120+
email_subject = "High CPU Alert"
121121
custom_webhook_payload = "{ \"alert\": \"#alertrulename\", \"metric\": \"#metricvalue\" }"
122122
}
123123
tags = {

main.tf

Lines changed: 212 additions & 212 deletions
Large diffs are not rendered by default.

providers.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
provider "azurerm" {
2-
features {}
3-
}
1+
provider "azurerm" {
2+
features {}
3+
}

renovate.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@
1212
}
1313
]
1414
}
15+

0 commit comments

Comments
 (0)