Skip to content

Commit 2eeb7b9

Browse files
committed
Shorten collectionName to fit within AWS limits
1 parent caffb27 commit 2eeb7b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/cdk/resources/OpenSearchResources.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ export class OpenSearchResources extends Construct {
1616
super(scope, id)
1717

1818
this.collection = new OpenSearchCollection(this, "OsCollection", {
19-
collectionName: `eps-assist-vector-db-${createHash("md5").update(this.node.addr).digest("hex").substring(0, 8)}`,
19+
// eps-assist-vector-db
20+
collectionName: `eps-vec-db-${createHash("md5").update(this.node.addr).digest("hex").substring(0, 8)}`,
2021
principals: [
2122
props.bedrockExecutionRole.roleArn,
2223
props.createIndexFunctionRole.roleArn,

0 commit comments

Comments
 (0)