Basically, I am trying to build a resource string, where part of the values are coming from other pulumi components, while some are plain python variables. I don't have a ton of experience with python lamdas either, so I am a bit stuck
h
handsome-state-59775
03/29/2021, 7:18 PM
Copy code
pulumi.Output.all(resource_group.name, current_subscription).apply(
lambda args: # do whatever here with args[0] and args[1]
)
try this out?
i
icy-dress-83371
03/29/2021, 7:21 PM
thanks @handsome-state-59775 I ended up skipping the lambda and trying out pulumi's output.concat.
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.