Skip to content

Commit 75a5af8

Browse files
authored
update terminate sandbox environment docus (#8157)
1 parent 67aaf2e commit 75a5af8

File tree

1 file changed

+6
-2
lines changed
  • src/pages/[platform]/deploy-and-host/sandbox-environments/setup

1 file changed

+6
-2
lines changed

src/pages/[platform]/deploy-and-host/sandbox-environments/setup/index.mdx

+6-2
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,13 @@ After a successful deployment, `sandbox` watches for file changes in your `ampli
5959

6060
### Terminating a sandbox environment
6161

62-
After testing all the changes associated with the backend, you can terminate the sandbox session via <kbd>Ctrl</kbd>+<kbd>c</kbd> and can then choose whether you want to keep or delete all the resources in the sandbox environment.
62+
After testing all the changes associated with the backend, you can terminate the sandbox session via <kbd>Ctrl</kbd>+<kbd>c</kbd>.
6363

64-
![terminal output after exiting sandbox with ctrl+c and prompt for resource deletion](/images/gen2/sandbox/sandbox3.png)
64+
To delete all the resources in the sandbox environment, run the following command:
65+
66+
```bash title="Terminal" showLineNumbers={false}
67+
npx ampx sandbox delete
68+
```
6569

6670
## Manage sandbox environments
6771

0 commit comments

Comments
 (0)