We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c7e60b commit 2aaf510Copy full SHA for 2aaf510
1 file changed
aks/locals.tf
@@ -16,7 +16,7 @@ locals {
16
17
helm_values = [{
18
kube-prometheus-stack = {
19
- prometheus = local.use_managed_identity ? {
+ prometheus = merge(local.use_managed_identity ? {
20
serviceAccount = {
21
annotations = {
22
"azure.workload.identity/client-id" = resource.azurerm_user_assigned_identity.prometheus[0].client_id
@@ -29,7 +29,7 @@ locals {
29
}
30
31
32
- } : null
+ } : null, {})
33
34
}]
35
0 commit comments