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 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
thank you!