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
4 changes: 2 additions & 2 deletions .github/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"visibility": "public",
"default_branch": "main",
"topics": [
"terraform",
"azure",
"container-app-environment",
"container-app-environment-storage"
"container-app-environment-storage",
"terraform"
]
}
}
3 changes: 3 additions & 0 deletions examples/.tflint.hcl
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
rule "terraform_required_providers" {
enabled = false
}
rule "terraform_required_version" {
enabled = false
}
Expand Down
6 changes: 3 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ resource "azurerm_container_app_environment" "container_app_environment" {
log_analytics_workspace_id = local.container_app_environment[each.key].log_analytics_workspace_id
tags = local.container_app_environment[each.key].tags


dynamic "workload_profile" {
for_each = local.container_app_environment[each.key].workload_profile.name == "" ? [] : [1]
content {
for_each = local.container_app_environment[each.key].workload_profile.name == "" ? [] : [1]
content {
name = local.container_app_environment[each.key].workload_profile.name
workload_profile_type = local.container_app_environment[each.key].workload_profile.workload_profile_type
minimum_count = local.container_app_environment[each.key].workload_profile.minimum_count
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
}
]
}

8 changes: 4 additions & 4 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ locals {
log_analytics_workspace_id = null
tags = {}
workload_profile = {
name = ""
workload_profile_type = null
minimum_count = null
maximum_count = null
name = ""
workload_profile_type = null
minimum_count = null
maximum_count = null
}
}
container_app_environment_storage = {
Expand Down
Loading