Skip to content

Commit

Permalink
add permission
Browse files Browse the repository at this point in the history
  • Loading branch information
joelbalcaen committed Apr 25, 2024
1 parent 00db297 commit 36c3916
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lambdas/bedrock_invoker/lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ module "lambda_function_container_image" {
"bedrock:InvokeModel"
]
resources = [
"arn:aws:bedrock:*:${data.aws_caller_identity.current.account_id}:model/*"
"arn:aws:bedrock:*:${data.aws_caller_identity.current.account_id}:model/*",
"arn:aws:bedrock:*:${data.aws_caller_identity.current.account_id}:foundation-model/*"
]
}

Expand Down

0 comments on commit 36c3916

Please sign in to comment.