Skip to content

Commit

Permalink
Update Bedrock permissions in serverless.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbam committed Aug 14, 2024
1 parent feb8515 commit 46935fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ provider:
Action:
- dynamodb:*
Resource:
- "arn:aws:dynamodb:us-east-1:*:table/${self:provider.environment.DYNAMODB_TABLE_NAME}"
- "arn:aws:dynamodb:*:*:table/${self:provider.environment.DYNAMODB_TABLE_NAME}"
- Effect: Allow
Action:
- bedrock:Retrieve
Resource:
- "arn:aws:bedrock:us-east-1:*:knowledge-base/*"
- "arn:aws:bedrock:*:*:knowledge-base/*"
- Effect: Allow
Action:
- bedrock:InvokeModel
Resource:
- "arn:aws:bedrock:::foundation-model/anthropic.claude-*"
- "arn:aws:bedrock:::foundation-model/stability.stable-diffusion-*"
- "arn:aws:bedrock:*::foundation-model/anthropic.claude-*"
- "arn:aws:bedrock:*::foundation-model/stability.stable-diffusion-*"

functions:
mention:
Expand Down

0 comments on commit 46935fa

Please sign in to comment.