Skip to content

Commit cd9ef1a

Browse files
chore: remove collectionName thats causing problem
1 parent 27e91da commit cd9ef1a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/cdk/resources/OpenSearchResources.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export interface OpenSearchResourcesProps {
1010
readonly stackName: string
1111
readonly bedrockExecutionRole: Role
1212
readonly region: string
13-
readonly collectionName?: string
1413
}
1514

1615
export class OpenSearchResources extends Construct {
@@ -21,7 +20,6 @@ export class OpenSearchResources extends Construct {
2120

2221
// Create the OpenSearch Serverless collection using L2 construct
2322
this.collection = new VectorCollection(this, "Collection", {
24-
collectionName: props.collectionName ?? `${props.stackName}-vector-db`,
2523
description: "EPS Assist Vector Store",
2624
standbyReplicas: VectorCollectionStandbyReplicas.DISABLED
2725
})

0 commit comments

Comments
 (0)