1 Answer
- Newest
- Most votes
- Most comments
1
--policy-document
, by default, takes the actual JSON content of the policy. To have the CLI read the content from a file, modify your command to use: --policy-document file://JSON.json
.
(As issued, your command is passing JSON.json
as the body of the policy document, which is why the service rejects it.)
Relevant content
- asked 5 months ago
- asked 9 months ago
- asked a year ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a year ago
thank you!