Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,24 @@ const openSearchDomain = new opensearch.Domain(
{
version: opensearch.EngineVersion.OPENSEARCH_2_11,
nodeToNodeEncryption: true,
// set removalPolicy to DESTROY for sandbox environemnt
// removalPolicy: RemovalPolicy.DESTROY,
encryptionAtRest: {
enabled: true
}
}
);
// highlight-end
```
<Callout>

Important considerations:

We recommend enabling the `removalPolicy` for sandbox environments.
By default, OpenSearch instances are not deleted when you run `npx ampx delete`, as the default removal policy is set to retain the resource.

</Callout>


## Step 3: Setting Up Zero ETL from DynamoDB to OpenSearch

Expand Down Expand Up @@ -220,6 +231,8 @@ const openSearchDomain = new opensearch.Domain(
{
version: opensearch.EngineVersion.OPENSEARCH_2_11,
nodeToNodeEncryption: true,
// set removalPolicy to DESTROY for sandbox environemnt
// removalPolicy: RemovalPolicy.DESTROY,
encryptionAtRest: {
enabled: true,
},
Expand Down
Loading