apply function?
# python
l
apply function?
a
I tried to use apply but I don't understand how it is supposed to be used. https://pulumi.io/tour/programs-properties.html the print produces the output object at some address.
I'm actually trying to write hosts.ini file for Ansible based on the output of Pulumi operations.
this is how I'm doing that
w
In general - see https://pulumi.io/reference/programming-model.html#outputs for details on how `Output`s work in Pulumi.
a
Thanks, I'll check these if/when I have time for it. Meanwhile I created separate Python script to parse the output of
pulumi stack output
to
hosts.ini
file.