Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* eol=lf
5 changes: 3 additions & 2 deletions .github/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
"default_branch": "main",
"homepage": "https://telekom-mms.github.io/terraform-azurerm-base",
"topics": [
"terraform",
"azure"
"azure",
"resource-group",
"terraform"
]
}
}
2 changes: 1 addition & 1 deletion .github/workflows/terrascan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ jobs:
with:
iac_type: terraform
iac_dir: ./tests
policy_type: all
policy_type: azure
non_recursive: true
10 changes: 8 additions & 2 deletions examples/.tflint.hcl
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
config {
module = true
rule "terraform_required_providers" {
enabled = false
}
rule "terraform_required_version" {
enabled = false
}
rule "terraform_module_version" {
enabled = false
}
2 changes: 1 addition & 1 deletion examples/min_main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module "base" {

resource_group = {
rg-mms-github = {
location = "westeurope"
location = "westeurope"
}
}
}
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
*/

resource "azurerm_resource_group" "resource_group" {
# ts:skip=AC_AZURE_0389 Resource Lock is not managed by this module
for_each = var.resource_group

name = local.resource_group[each.key].name == "" ? each.key : local.resource_group[each.key].name
Expand Down
12 changes: 11 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{
"extends": [
"github>telekom-mms/.github:renovate-preset.json5"
"config:base",
"github>telekom-mms/terraform-template"
],
"dependencyDashboard": true,
"dependencyDashboardAutoclose": false,
"packageRules": [
{
"matchUpdateTypes": ["patch"],
"automerge": true
}
]
}

Loading