Hmm maybe I just have to keep lifting this value up into an input of its own until I eventually get to the place where I want to use the result which is actually in input.
worried-queen-62794
10/20/2020, 9:53 PM
Annoying that I can't cache the result though. I need to use it multiple times. I'm assuming Pulumi isn't smart enough to do that.
l
lemon-agent-27707
10/20/2020, 9:56 PM
It is safe to call
.get
functions within an apply (you should not create resources within applies 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.