1 回答
- 最新
- 投票最多
- 评论最多
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.)
相关内容
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
thank you!