Skip to content

Commit c4f3f4a

Browse files
committed
do it a different way
1 parent dd1ef5b commit c4f3f4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/cdk/resources/VectorIndex.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ export class VectorIndex extends Construct {
7171
}
7272
})
7373

74-
//const collectionArn = `arn:aws:aoss:${props.region}:${props.account}:collection/${props.collection.name}`
74+
const collectionArn = `arn:aws:aoss:collection/${props.collection.name}`
7575
// eslint-disable-next-line max-len
7676
// const indexArn = `arn:aws:aoss:${props.region}:${props.account}:index/${props.collection.name}/${props.indexName}`
7777

78-
const collectionArn = "aoss:collection/*"
78+
//const collectionArn = "aoss:collection/*"
7979
const indexArn = `arn:aws:aoss:${props.region}:${props.account}:index/*`
8080
const getCollectionPolicy = new PolicyStatement({
8181
actions: [

0 commit comments

Comments
 (0)