Skip to content

Commit a929e35

Browse files
committed
Change request YH: Move tf scripts to terraform folder
1 parent ebb9c2c commit a929e35

File tree

3 files changed

+2
-34
lines changed

3 files changed

+2
-34
lines changed

scripts/tf_helper_list_json_files_in_folder.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

scripts/tf_helper_list_subfolders.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

services/monitoring/grafana/terraform/dashboards.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Import subfolders using an external script
22
data "external" "subfolders" {
3-
program = ["bash", "${path.module}/../../../../scripts/tf_helper_list_subfolders.sh", "${path.module}/../assets/shared/dashboards"]
3+
program = ["bash", "${path.module}/tf_helper_list_subfolders.sh", "${path.module}/../assets/shared/dashboards"]
44
}
55

66
// Local mappings of folder names to their paths
@@ -19,7 +19,7 @@ resource "grafana_folder" "subfolders" {
1919
data "external" "dashboard_files" {
2020
for_each = local.folder_map
2121

22-
program = ["bash", "${path.module}/../../../../scripts/tf_helper_list_json_files_in_folder.sh", "${path.module}/../assets/shared/dashboards/${each.key}"]
22+
program = ["bash", "${path.module}/tf_helper_list_json_files_in_folder.sh", "${path.module}/../assets/shared/dashboards/${each.key}"]
2323
}
2424

2525
// Create Grafana dashboards from JSON files

0 commit comments

Comments
 (0)