Skip to content

Commit a05ebc3

Browse files
committed
fix the arn
1 parent c764324 commit a05ebc3

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,7 +71,7 @@ export class VectorIndex extends Construct {
7171
}
7272
})
7373

74-
const collectionArn = `arn:aws:aoss:::collection/${props.collection.name}`
74+
const collectionArn = `arn:aws:aoss:${props.region}:${props.account}: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

@@ -97,7 +97,7 @@ export class VectorIndex extends Construct {
9797
]
9898
})
9999

100-
const waiterFn = new LambdaFunction(this, "SlackBotLambda", {
100+
const waiterFn = new LambdaFunction(this, "waiterLambda", {
101101
stackName: props.stackName,
102102
functionName: `${props.stackName}-VectorIndexWaiter`,
103103
packageBasePath: "packages/indexWaiter",

0 commit comments

Comments
 (0)