rapid-receptionist-2852803/06/2023, 10:29 AM
dynamic resource using
and Implemented all the needed functions (like and update and diff) and then I put an a breakpoint on those functions - but the running application context did not stop on my breakpoints although passing those functions. Any idea ? https://www.pulumi.com/docs/intro/concepts/resources/dynamic-providers/
echoing-dinner-1953103/06/2023, 12:56 PM
rapid-receptionist-2852803/23/2023, 12:49 PM
knows of failure in my dynamic resource so
could failed the deployment ? I’m asking because I’m in a situation that I had a Error in my implementation and
weren’t aware of it , continue to work and didn’t inform me that there is an error and finish the process as it was success.. and I find the the error much later in runtime.
echoing-dinner-1953103/23/2023, 1:59 PM
rapid-receptionist-2852803/23/2023, 5:25 PM
echoing-dinner-1953103/23/2023, 7:02 PM
rapid-receptionist-2852803/28/2023, 8:24 AM
echoing-dinner-1953103/28/2023, 2:49 PM
in my dynamic create function seems to work as expected, I'm working on adding a test to our test set to demonstrate this.
throw new Error("boom!")
rapid-receptionist-2852803/29/2023, 1:20 PM
process is the best and maybe the only option to let
understand it should failed the deployment.
echoing-dinner-1953103/29/2023, 3:17 PM
rapid-receptionist-2852803/29/2023, 7:44 PM
B) exactly like you did -
async create(inputs: PluginCopyProviderInputs)
throw new Error("An error occurred")
echoing-dinner-1953103/29/2023, 7:51 PM