This message was deleted.
# aws
s
This message was deleted.
g
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
That seems reasonable and makes total sense...
and it worked! Thanks
o
fwiw, got the same error. fixed by setting
Sid
to an empty string, or some arbitrary "id" instead of
null
(or
None
/
nil
etc depending on the language)🤷
s
Don't specify the
Sid
at all and it should work.