11/01/2021, 7:07 PM
Hi folks, does anyone know how to get to the actual error message behind:
error: autorest/azure: error response cannot be parsed: "" error: EOF
when Pulumi fails to create a resource? I turned on verbose logging to file but it doesn’t reveal more that what’s already shown in the output.
Eventually managed to figure this out by using
az --debug
directly to try to create the resource, which prints both requests and responses to the API. It seems in this case the API simply returned a 404 with no content, so there was not much of a response for Pulumi to parse.
However, I think it would be very helpful if Pulumi did: • print the requests and responses (including headers) when
• print the HTTP status code in the error message