Hi! I'm writing a REST api using Pulumi automation api to create resources and I want to be able to return to the user which resource has failed. Is there any way to get information about which resources failed?
01/25/2023, 8:53 AM
I think you might be able to track this with the engine event stream, but it's odd that it's not just returned more clearly in the summary result at the end.
01/25/2023, 8:56 AM
Thanks I will see if I can make that work. But I agree that the summary should probably be a little bit more verbose
Failed miserably how to use the engine event steam to get the resource provisioning details 😞 Do you have any example of how to use it?
02/06/2023, 1:35 PM
I don't but I think you just need to be looking at the ResOpFailedEvent field (if it's set) and grabbing Metadata.URN to show the user.