but the error isn't really bubbling up and stopping Pulumi, causing it to hang since other resources use the created output from this call. How can I ensure Pulumi stops on this error? Does the output need to be provided as an output of the Pulumi script?
l
little-cartoon-10569
07/25/2024, 4:48 AM
You should throw a ResourceError. Also you need to be aware that it won't be thrown until dependencies are being resolved, after all your other code has completed.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.