From d667104b85610e87abd586b8adc2c12875dba25c Mon Sep 17 00:00:00 2001 From: Ludovico Magnocavallo Date: Mon, 26 Feb 2024 16:52:41 +0100 Subject: [PATCH] fix pathexpand in firewall policy module (#2111) --- modules/net-firewall-policy/factory.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/net-firewall-policy/factory.tf b/modules/net-firewall-policy/factory.tf index 1b678d05..4577a063 100644 --- a/modules/net-firewall-policy/factory.tf +++ b/modules/net-firewall-policy/factory.tf @@ -16,15 +16,15 @@ locals { _factory_egress_rules = try( - yamldecode(pathexpand(file(var.factories_config.egress_rules_file_path))), + yamldecode(file(pathexpand(var.factories_config.egress_rules_file_path))), {} ) _factory_ingress_rules = try( - yamldecode(pathexpand(file(var.factories_config.ingress_rules_file_path))), + yamldecode(file(pathexpand(var.factories_config.ingress_rules_file_path))), {} ) factory_cidrs = try( - yamldecode(pathexpand(file(var.factories_config.cidr_file_path))), {} + yamldecode(file(pathexpand(var.factories_config.cidr_file_path))), {} ) factory_egress_rules = { for k, v in local._factory_egress_rules : "egress/${k}" => {