Skip to content

Commit bac5b48

Browse files
committed
Use dynamic name for OpenSearchCollection
1 parent 278e49f commit bac5b48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cdk/resources/OpenSearchResources.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class OpenSearchResources extends Construct {
1515
super(scope, id)
1616

1717
this.collection = new OpenSearchCollection(this, "OsCollection", {
18-
collectionName: "eps-assist-vector-db",
18+
collectionName: `eps-vec-${this.node.addr}`, // eps-assist-vector-db
1919
principals: [
2020
props.bedrockExecutionRole.roleArn,
2121
props.createIndexFunctionRole.roleArn,

0 commit comments

Comments
 (0)