Skip to content

Commit

Permalink
remove coalesce function
Browse files Browse the repository at this point in the history
  • Loading branch information
araguiar committed Feb 16, 2024
1 parent 02433e9 commit 0bc39be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/eks-monitoring/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ locals {

nginx_pattern_config = {
# Merge input variable with defaults and rebuild with non-null values
for k, v in merge(local.nginx_pattern_config_defaults, var.nginx_config) : k => coalesce(v, local.nginx_pattern_config_defaults[k])
for k, v in merge(local.nginx_pattern_config_defaults, var.nginx_config) : k => v != null ? v :local.nginx_pattern_config_defaults[k]
}

istio_pattern_config = {
Expand Down

0 comments on commit 0bc39be

Please sign in to comment.