Skip to content

Commit 2eb8573

Browse files
author
Daniel Lorch
committed
chore: fix permission policy for s3 vectors
1 parent 800ed17 commit 2eb8573

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/dynamic-few-shot-lambda/template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ Resources:
201201
- !Ref DocumentsIndex
202202
- !If
203203
- ShouldCreateVectorBucket
204-
- !Sub "${VectorBucket}/index/${DocumentsIndex}"
205-
- !Sub "arn:${AWS::Partition}:s3vectors:${AWS::Region}:${AWS::AccountId}:bucket/${VectorBucketName}/index/${DocumentsIndex}"
204+
- !Sub "${VectorBucket}/index/${VectorIndexName}"
205+
- !Sub "arn:${AWS::Partition}:s3vectors:${AWS::Region}:${AWS::AccountId}:bucket/${VectorBucketName}/index/${VectorIndexName}"
206206
- Effect: Allow
207207
Action:
208208
- kms:Decrypt

0 commit comments

Comments
 (0)