Ver código fonte

Merge pull request #699 from mdr-engineering/feature/ftd_na_MinorScriptFixes

Minor Fixes for Helper Scripts
Frederick Damstra 3 anos atrás
pai
commit
39919434f3
2 arquivos alterados com 2 adições e 1 exclusões
  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