This message was deleted.
# general
s
This message was deleted.
b
apply should work here, what error are you getting?
f
Hrmm... I just modified my apply call and it looks like it's working. 🤔
Initially, I was just trying to use an identity function (
thing.apply(lambda x: x)
) and then doing a comparison based on the result, which wasn't working. If I pull that comparison into the apply (
thing.apply(lambda x: x == "blah")
), it works
well, maybe not... I still can't log the output of the transformed thing with
pulumi.log
(I just get something like
<pulumi.output.Output object at 0x78b40441e0b8>
, and it doesn't look like it's actually behaving as a boolean in my code.
wonder if I need to pull my "do I pass this pipeline definition to the Resource, or that pipeline definition?" logic into the apply call as well...
because that is what is ultimately passed as a Resource input