https://pulumi.com logo
#general
Title
# general
g

gorgeous-accountant-60580

12/20/2022, 11:55 AM
Hi. I’m attempting to do a regular function call (to a non-Pulumi SDK) using values from a resource I’ve created with Pulumi. To access the concrete values I’m doing this inside an ApplyT. It seems like this isn’t being executed. Could this be because I’m not depending on any values output from the function, so that this has no bearing on the Pulumi resource graph? What would be the correct way to do something like this?
b

billowy-army-68599

12/20/2022, 3:17 PM
I need to double check, but this would only happen on resource creation I think, does the resource you’re using for
ApplyT
already exist?
g

gorgeous-accountant-60580

12/20/2022, 3:19 PM
Yes, it does. Looks like we were running our code on creation, not on subsequent no-op reconciliations, and the way ApplyT works obscured an error that was happening as well. Looks like using stack exports and handling this outside of our Pulumi program is gonna be a bit nicer, in this case