Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
plugin-framework
pulumi-ai
pulumi-cdk
pulumi-cloud
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by
Title
l
little-river-49422
03/14/2019, 10:07 AM
apply function?
a
alert-monitor-28534
03/14/2019, 11:01 AM
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.
l
little-river-49422
03/14/2019, 2:08 PM
https://pulumi-community.slack.com/archives/CDE799L1M/p1550745431005400
this is how I'm doing that
w
white-balloon-205
03/14/2019, 4:38 PM
In general - see
https://pulumi.io/reference/programming-model.html#outputs
for details on how `Output`s work in Pulumi.
a
alert-monitor-28534
03/15/2019, 6:22 AM
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.
#python
Join Slack