Skip to content

Commit

Permalink
fix(doc): IAM Actions must be arrays
Browse files Browse the repository at this point in the history
Ref issue aws-samples#20. Users observed AccessDeniedException when setting IAM
policy "Action": "bedrock:*". Per the IAM grammar, it looks like a
single string is only valid for "*": Other actions must be enclosed
in an array.

https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_grammar.html
  • Loading branch information
athewsey committed Aug 4, 2023
1 parent 97f34a3 commit 3c12ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ To grant Bedrock access to your identity, you can:
{
"Sid": "BedrockFullAccess",
"Effect": "Allow",
"Action": "bedrock:*",
"Action": ["bedrock:*"],
"Resource": "*"
}
]
Expand Down

0 comments on commit 3c12ea8

Please sign in to comment.