Skip to content

Commit 61f2253

Browse files
chore: tries adding explicit dependency to avoid timeout
1 parent 856d58b commit 61f2253

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/cdk/resources/VectorIndex.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ export class VectorIndex extends Construct {
6464
}
6565
})
6666

67-
this.cfnIndex = cfnIndex
67+
cfnIndex.node.addDependency(props.collection.node.defaultChild!)
6868

69+
this.cfnIndex = cfnIndex
6970
this.cfnIndex.applyRemovalPolicy(RemovalPolicy.DESTROY)
7071
}
7172
}

0 commit comments

Comments
 (0)