Skip to content

Commit 3f88737

Browse files
chore: Fix self-referential dependency in MongoDB Atlas private endpoint example (#402)
Co-authored-by: Marco Suma <[email protected]>
1 parent 42eb9b2 commit 3f88737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/l1-resources/private-endpoint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class CdkPrivateEndpoint extends cdk.Stack {
4040
id: awsPrivateEndpoint.ref,
4141
});
4242

43-
myPrivateEndpoint.addDependency(myPrivateEndpoint)
43+
myPrivateEndpoint.addDependency(awsPrivateEndpoint)
4444
}
4545

4646
getContextProps(): AtlasStackProps {

0 commit comments

Comments
 (0)