I don't think you need the json deserialize step, logWorkspaceReference should already be a dictionary object.
r
rhythmic-crowd-40243
11/07/2022, 12:30 PM
I see. Do you know how I would go about extracting the value from the object returned? There doesn’t appear to be a trivial way to covert an object to a dictionary. I’m wondering is there a Pulumi best practices way to accomplish this?
, I think structured values are due a pass over making them better at some point though. Like all this is just JSON underneath we should just let RequireOutput set the JSON deserialiser and return the right value there and then.
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.