diff --git a/lambdas/bedrock_invoker/lambda.tf b/lambdas/bedrock_invoker/lambda.tf index 3fc2f1f..99540bc 100644 --- a/lambdas/bedrock_invoker/lambda.tf +++ b/lambdas/bedrock_invoker/lambda.tf @@ -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/*" ] }