sparse-intern-71089
03/06/2023, 10:29 AMechoing-dinner-19531
03/06/2023, 12:56 PMrapid-receptionist-28528
03/23/2023, 12:49 PMpulumi
knows of failure in my dynamic resource
so pulumi
could failed the deployment ?
I’m asking because I’m in a situation that I had a Error in my implementation
and pulumi
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.rapid-receptionist-28528
03/23/2023, 12:52 PMprocess.exit(0)
echoing-dinner-19531
03/23/2023, 1:59 PMrapid-receptionist-28528
03/23/2023, 5:25 PMprocess.exit(0)
echoing-dinner-19531
03/23/2023, 7:02 PMrapid-receptionist-28528
03/28/2023, 8:24 AMechoing-dinner-19531
03/28/2023, 2:49 PMechoing-dinner-19531
03/29/2023, 10:11 AMthrow new Error("boom!")
in my dynamic create function seems to work as expected, I'm working on adding a test to our test set to demonstrate this.echoing-dinner-19531
03/29/2023, 10:23 AMrapid-receptionist-28528
03/29/2023, 1:20 PMnodejs
process is the best and maybe the only option to let pulumi
understand it should failed the deployment.echoing-dinner-19531
03/29/2023, 3:17 PMrapid-receptionist-28528
03/29/2023, 7:44 PMcreate
---
async create(inputs: PluginCopyProviderInputs)
B) exactly like you did - throw new Error("An error occurred")
echoing-dinner-19531
03/29/2023, 7:51 PM