瀏覽代碼

Minor Fixes for Helper Scripts

Fred Damstra [afs macbook] 3 年之前
父節點
當前提交
90f5a436ff
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      bin/apply_last_updated_modules
  2. 1 1
      bin/update_all_that_uses

+ 1 - 0
bin/apply_last_updated_modules

@@ -48,4 +48,5 @@ for m in ${UPDATED_MODULES}; do
         exit 2
     fi
   fi
+  popd
 done

+ 1 - 1
bin/update_all_that_uses

@@ -77,7 +77,7 @@ fi
 
 # Gather a list of all terragrunt.hcl files in xdr-terraform live. Should be faster to do this one.
 echo Finding all modules in xdr-terraform-live.. This may take a moment.
-LIVEMODULES=$( find ../xdr-terraform-live -name "terragrunt.hcl" -type f -depth -mindepth 2 -not -path "*/.terragrunt-cache/*" )
+LIVEMODULES=$( find ../xdr-terraform-live -name "terragrunt.hcl" -type f -depth -mindepth 2 -not -path "*/.terragrunt-cache/*" -not -path "*/000-skeleton/*" )
 echo $( echo -n "${LIVEMODULES}" | wc -l ) modules found in xdr-terraform-live.
 
 # Gather the modules that use it