package-search-gradle-plugins icon indicating copy to clipboard operation
package-search-gradle-plugins copied to clipboard

Task terraformApply does not show standard error when apply fails with errors

Open farrukhnajmi opened this issue 2 years ago • 1 comments

Task terraformApply does not show standard error when apply fails with errors. One has to do the following as workaround:

  1. pushd build/terraform/main/runtimeExecution
  2. env TF_DATA_DIR=../data ../../terraform_ apply "/home/farrukh/altran/novartis/mosiac-fv/mosaic-backend/terraform/build/terraform/main/plan.bin"

What would be better is for terraformApply task to show error output by default (why would we want to hide it and make it hard to debug the underlying problem?).

farrukhnajmi avatar Apr 21 '22 15:04 farrukhnajmi