Any outputs you want to set on the resource object need to be passed as input properties (set to
undefined
) in the args bag.
b
bitter-island-28909
08/06/2019, 5:18 PM
gottit, will try that. Thank you!
bitter-island-28909
08/06/2019, 5:20 PM
@white-balloon-205 that works great, thanks a bunch!
yes, I will say those docs are a bit confusing since they show all the interface and type hints which most people using JavaScript won’t be using typically. The important bits (setting the undefined values in the ctor) got lost in the noise.
But it makes sense now!
w
white-balloon-205
08/06/2019, 5:21 PM
Yep - definitely need to fix up that section. Glad it's working though!
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.