You can use the PolicyDocument type from aws, and avoid outputs entirely. The outputs in the object get handled inline, so you don't need to build a wrapping output.
m
magnificent-apartment-79511
01/16/2024, 8:45 PM
Is that only in aws classic?
l
little-cartoon-10569
01/16/2024, 8:47 PM
The class is in classic, but it should work in native (I hope?).
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.