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