Преглед изворни кода

Runs init before apply in apply_last_updated_modules

Fred Damstra [afs macbook] пре 3 година
родитељ
комит
0c8675bae7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      bin/apply_last_updated_modules

+ 1 - 1
bin/apply_last_updated_modules

@@ -36,7 +36,7 @@ for m in ${UPDATED_MODULES}; do
   echo \ Applying $m
   echo =============================================
   pushd $m
-  terragrunt apply
+  terragrunt init --upgrade && terragrunt apply
   EXITCODE=$?
   if [[ $EXITCODE != 0 ]]; then
     # Prompt to continue after each failed module.