Closed
Description
When having multiple shell_script resources sharing the same name (i.e. in a module instanciated several times), it's hard to know which one is yielding an error because Terraform displays the error at the end without context.
Current
Error: Error occurred during execution.
Command: './redacted read'
Error: 'exit status 127'
StdOut:
StdErr:
/bin/sh: 1: ./redacted: not found
One can guess it is the last shell_script resources to be read in that case.
I imagine that with parallelism turned on, such guessing becomes even harder.
Suggested
Example:
Error: Error occurred during execution.
Resource: module.mymodule.shell_script.mything
Command: './redacted read'
Error: 'exit status 127'
StdOut:
StdErr:
/bin/sh: 1: ./redacted: not found
Metadata
Metadata
Assignees
Labels
No labels