From 526c8d9f1a45da80d9f949786c412ca943720ab6 Mon Sep 17 00:00:00 2001 From: Julio Castillo Date: Sat, 25 Feb 2023 13:37:02 +0100 Subject: [PATCH] Remove unneeded path.root from net-vpc-firewall-yaml --- blueprints/factories/net-vpc-firewall-yaml/main.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blueprints/factories/net-vpc-firewall-yaml/main.tf b/blueprints/factories/net-vpc-firewall-yaml/main.tf index d478625c..90416faa 100644 --- a/blueprints/factories/net-vpc-firewall-yaml/main.tf +++ b/blueprints/factories/net-vpc-firewall-yaml/main.tf @@ -1,5 +1,5 @@ /** - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,8 +20,8 @@ locals { for config_path in var.config_directories : concat( [ - for config_file in fileset("${path.root}/${config_path}", "**/*.yaml") : - "${path.root}/${config_path}/${config_file}" + for config_file in fileset(config_path, "**/*.yaml") : + "${config_path}/${config_file}" ] )