fork/exec $GITHUB_WORKSPACE/.github/scripts/tfwrapper.sh: no such file or directory
#79
Labels
bug
Something isn't working
Describe the bug
Unfortunately, terragrunt does not catch the
tofu error
. This is quite annoying when debugging the terraform codes.Based on https://community.gruntwork.io/t/how-to-process-terraform-apply-logs-for-catching-errors-in-ci/656/4 ,
I prepared the wrapper shell
.github/scripts/tfwrapper.sh
and set the github workflow as follows:
However, it fails with
fork/exec $GITHUB_WORKSPACE/.github/scripts/tfwrapper.sh: no such file or directory
I tried the following
INPUT_PRE_EXEC_1
and it couldcat
as expected.so I'm wondering how to fix this error.
Expected behavior
It should find
$GITHUB_WORKSPACE/.github/scripts/tfwrapper.sh
Versions
Additional context
I want tofu apply errors to be caught by default (same https://community.gruntwork.io/t/how-to-process-terraform-apply-logs-for-catching-errors-in-ci/656 )
Currently, it just logs unuseful outputs like the following:
and it's quite hard to debug.
The text was updated successfully, but these errors were encountered: