This message was deleted.
# getting-started
s
This message was deleted.
b
This isn't going to work, when you pass a function like that with pulumi the function is serialized so that it can be passed to the resource. Then that function is executed later with a different process, in a different context. So it no longer occurs during your pulumi up invocation, and pulumi is not available when it is executed, nor is your stack or any other state information about that deployment. The deployment has finished at that point.
👍 1