We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10dbff7 commit 032c7ceCopy full SHA for 032c7ce
src/pages/[platform]/build-a-backend/data/custom-business-logic/search-and-aggregate-queries/index.mdx
@@ -231,8 +231,8 @@ const openSearchDomain = new opensearch.Domain(
231
{
232
version: opensearch.EngineVersion.OPENSEARCH_2_11,
233
nodeToNodeEncryption: true,
234
- // set removalPolicy to DESTROY for sandbox environemnt
235
- // removalPolicy: RemovalPolicy.DESTROY,
+ // set removalPolicy to DESTROY to make sure the open search domain is deleted on stack deletion.
+ removalPolicy: RemovalPolicy.DESTROY,
236
encryptionAtRest: {
237
enabled: true,
238
},
0 commit comments