https://pulumi.com logo
#aws
Title
# aws
l

little-cartoon-10569

11/24/2020, 4:00 AM
Is there a shortcut for using Outputs in policy documents? How to I refer to outputs from resources when calling
aws.iam.getPolicyDocument
, short of using
pulumi.all().apply()
?
Looks like I don't need to use
getPolicyDocument
. Maybe
pulumi.interpolate
will do...
Can't see it really.. don't know enough typescript. Is there a version of interpolate that can use JSON.stringify? Or vice versa? Seems pretty useful.