Skip to content

Commit

Permalink
Update gen_ai_rag_stack.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dorukozturk authored Oct 15, 2024
1 parent 7572a33 commit eed12ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdk/examples/generative_ai_rag/lib/gen_ai_rag_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def __init__(
self.task_role.add_to_policy(
PolicyStatement(
effect=Effect.ALLOW,
actions=["bedrock:InvokeAgent", "bedrock:InvokeModel"],
actions=["bedrock:Retrieve", "bedrock:InvokeModel", "bedrock:InvokeModelWithResponseStream"],
resources=["*"]
)
)
Expand Down

0 comments on commit eed12ac

Please sign in to comment.