This message was deleted.
# general
s
This message was deleted.
w
That error message should be improved. The code inside your custom CRUD operations is run in a seperate Node process, potentially after your main application completes (or even in cases where you main program doesn't run). As a result, you cannot create new resources or call
.getFoo
-style methods inside these. Some of this is discussed in the Note at https://www.pulumi.com/docs/reference/programming-model/#dynamicproviders.
i
This helped a lot! Thanks @white-balloon-205
@white-balloon-205 For some reason some outputs in the dynamic resource are undefined, instead of being pulumi.Output<>. Any idea why that can be?
w
You might be seeing the same thing called out in https://github.com/pulumi/docs/issues/1375 which I will be adding to docs imminently.
i
@white-balloon-205 That was it! Thanks!
@white-balloon-205 I upgraded to the latest pulumi version, but there are still those permanent diffs
w
Which permanent diffs? Do you have an issue link?
i
Oh, sorry. It’s the wrong thread