Skip to content

Commit e1ae6e5

Browse files
authored
Add permission to call lambda (#1316)
1 parent 36ebcff commit e1ae6e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

org-formation/300-account-defaults/bedrock-agent-role.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ Resources:
2727
Action: "bedrock:InvokeModel"
2828
Resource:
2929
- !Sub "arn:aws:bedrock:${AWS::Region}::foundation-model/*"
30+
- Effect: Allow
31+
Action: "lambda:InvokeFunction"
32+
Resource:
33+
- !Sub "arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:*"
3034

3135
Outputs:
3236
BedrockAgentRoleArn:

0 commit comments

Comments
 (0)