Remove unneeded path.root from net-vpc-firewall-yaml
This commit is contained in:
parent
e1e33a499d
commit
526c8d9f1a
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* Copyright 2022 Google LLC
|
* Copyright 2023 Google LLC
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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 :
|
for config_path in var.config_directories :
|
||||||
concat(
|
concat(
|
||||||
[
|
[
|
||||||
for config_file in fileset("${path.root}/${config_path}", "**/*.yaml") :
|
for config_file in fileset(config_path, "**/*.yaml") :
|
||||||
"${path.root}/${config_path}/${config_file}"
|
"${config_path}/${config_file}"
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue