Your issue might be related to this one that @helpful-processor-86468 and I have been discussing over in #CDE799L1M
s
stocky-leather-49710
08/14/2020, 8:03 PM
Thank you @witty-ice-69000! Looks like the solution suggestion here is one I have applied (no pun intended), but I’m still getting the result. I wonder if a race condition is to blame as the issue suggests
👍 1
w
witty-ice-69000
08/17/2020, 12:29 PM
I think if you take another look at the issue I referenced above, Lee Zen of Pulumi has some additional comments that might clarify how to use the asynchronous output correctly. I'm a bit tentative here because he addressed our Python use case and I'm not sure how it applies to your non-Python case.
s
stocky-leather-49710
08/17/2020, 1:50 PM
yeah, it’s a different use case, I think. I am trying to get the ARN of an existing role and synthesize a policy document, where the use case in that issue is fetching an existing policy document IIUC. Thank you for updating the thread! Much appreciated.
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.