package-search-gradle-plugins
package-search-gradle-plugins copied to clipboard
Task terraformApply does not show standard error when apply fails with errors
Task terraformApply does not show standard error when apply fails with errors. One has to do the following as workaround:
- pushd build/terraform/main/runtimeExecution
- 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?).