Skip to content

Commit 398cee0

Browse files
Update src/pages/[platform]/build-a-backend/data/custom-business-logic/search-and-aggregate-queries/index.mdx
Co-authored-by: josef <[email protected]>
1 parent 032c7ce commit 398cee0

File tree

1 file changed

+3
-4
lines changed
  • src/pages/[platform]/build-a-backend/data/custom-business-logic/search-and-aggregate-queries

1 file changed

+3
-4
lines changed

src/pages/[platform]/build-a-backend/data/custom-business-logic/search-and-aggregate-queries/index.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,11 @@ const openSearchDomain = new opensearch.Domain(
157157
);
158158
// highlight-end
159159
```
160-
<Callout>
160+
<Callout warning>
161161

162-
Important considerations:
162+
**Important considerations:**
163163

164-
We recommend enabling the `removalPolicy` for sandbox environments.
165-
By default, OpenSearch instances are not deleted when you run `npx ampx delete`, as the default removal policy is set to retain the resource.
164+
We recommend configuring the `removalPolicy` to destroy resources for sandbox environments. By default, OpenSearch instances are not deleted when you run `npx ampx sandbox delete`, as the default removal policy for stateful resources is set to retain the resource.
166165

167166
</Callout>
168167

0 commit comments

Comments
 (0)