JetBrains / package-search-gradle-plugins

Gradle plugins for Docker, Terraform and Liquibase.
Apache License 2.0
32 stars 7 forks source link

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

Open farrukhnajmi opened 2 years ago

farrukhnajmi commented 2 years ago

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_DATADIR=../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 commented 2 years ago

@lamba92 It seems that you may not have much time to address issues in this plugin.

I have switched to the https://ysb33rorg.gitlab.io/terraform-gradle-plugin/ and all my problems seems to be solved. This new plugin is much more sophisticated and flexible. At first blush it looks much more complicated than this https://github.com/JetBrains/jetbrains-gradle-plugins plugin. However, it only took me about 2 hours to switch and I am finding it to be a much better fit.