Is there a shortcut for using Outputs in policy do...
# aws
l
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.