From 0bc39be5b0837c16382f31e6ef9417cede5e1735 Mon Sep 17 00:00:00 2001 From: Antone Aguiar Date: Fri, 16 Feb 2024 10:45:52 -0800 Subject: [PATCH] remove coalesce function --- modules/eks-monitoring/locals.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/eks-monitoring/locals.tf b/modules/eks-monitoring/locals.tf index 7fcb60db..765d9846 100644 --- a/modules/eks-monitoring/locals.tf +++ b/modules/eks-monitoring/locals.tf @@ -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 = {