Porting a third party TF provider and its failing ...
# contribute
b
Porting a third party TF provider and its failing with
Copy code
$ pulumi preview -v=10

...

error: an unhandled error occurred: Program exited with non-zero exit code: -1
. Is there way to see the output from the provider binary?
w
Try `TF_LOG=TRACE`to get logging from the TF provider itself? (This is noted at the end of https://www.pulumi.com/docs/troubleshooting/#verbose-logging).
b
Thanks, digging into it
Copy code
I1230 13:35:32.730101    5021 langruntime_plugin.go:163] langhost[nodejs].RunPlan(pwd=/home/azamat/test2,program=.,...,dryrun=true) success: progerr=Program exited with non-zero exit code: -1
I1230 13:35:32.732341    5021 source_eval.go:167] EvalSourceIterator ended with an error: an unhandled error occurred: Program exited with non-zero exit code: -1
I1230 13:35:32.732386    5021 plan_executor.go:219] planExecutor.Execute(...): incoming event (nil? true, &{0xc00104e540})
I1230 13:35:32.732407    5021 eventsink.go:87] eventSink::Error(<{%reset%}>an unhandled error occurred: Program exited with non-zero exit code: -1<{%reset%}>)