Open arsanjea opened 5 years ago
That's very unfortunate. We can see what is possible, but we may be very limited ultimately by what the underlying terraform provider does. In order to improve this, it might necessitate a change at their layer to some collect and pass along more information when their call into the googleapi fails.
While trying to deploy a google cloud function with pulumi, I get very little information as to what went wrong which leads to hours of troubleshooting efforts. Example: It took me a lot of troubleshooting to figure out why pulumi wasn't able to deploy the following piece of code:
Pulumi's output was:
After hours of troubleshooting I figured out that NODE_ENV was not environment variable a user is allowed to set.
I was able to identify this issue by running:
gcloud functions deploy hello --update-env-vars NODE_ENV=production --trigger-http
Which gives the - much more helpful - following output:
Would it possible for pulumi to capture this output?