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}" => {