I highly suggest Getting the policy Document with the GetPolicyDocument function instead of trying to format the JSON yourself. This way you will ensure the shape is correct and is what AWS will want given you've fetched it from AWS.
🙌 1
a
alert-laptop-81342
12/14/2022, 3:33 PM
That seems reasonable and makes total sense...
alert-laptop-81342
12/14/2022, 3:33 PM
and it worked! Thanks
o
orange-computer-56642
12/15/2022, 11:54 AM
fwiw, got the same error. fixed by setting
Sid
to an empty string, or some arbitrary "id" instead of
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.