From b6a4368bf0b22deb982a2471eeb4effb20906aab Mon Sep 17 00:00:00 2001 From: Mostafa Kamal Date: Mon, 1 Jul 2024 13:40:19 +0600 Subject: [PATCH] symlink project dir --- symlink-modules.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symlink-modules.sh b/symlink-modules.sh index 2704061..14a78c5 100755 --- a/symlink-modules.sh +++ b/symlink-modules.sh @@ -4,7 +4,7 @@ SOURCE_DIR="modules" # Get the list of environments by reading the directory names inside the terraform folder -PROJECT_DIR="project" +PROJECT_DIR="projects" ENVIRONMENTS=($(ls -d $PROJECT_DIR/*/ | xargs -n 1 basename | grep -v '^common$')) # Loop through each environment and create symlinks for modules