https://pulumi.com logo
#python
Title
# python
s

strong-plastic-28250

06/10/2020, 3:50 PM
Is there a โ€œtellโ€ or sure fire way when we know when we need to use apply() outside of running pulumi up and finding out on resource creation?
g

gentle-diamond-70147

06/10/2020, 4:22 PM
Generally if you need to manipulate an output (concat a string, transform to JSON, etc) you will need to use apply. If you're just passing an output from one resource into another, you do not need to use it.
Was that helpful? or still unclear?
๐Ÿ‘ 2
s

strong-plastic-28250

06/11/2020, 12:07 AM
Yes. Thank you.
๐Ÿ‘ 1