Document termination prompt

This commit is contained in:
Nils Hanke 2022-10-31 16:58:48 +01:00 committed by Nils Hanke
parent 7ca4a6d0e1
commit 141fa3f593

View File

@ -264,10 +264,22 @@ This should give the following output:
```shell-session ```shell-session
$ constellation terminate $ constellation terminate
You are about to terminate a Constellation cluster.
All of its associated resources will be DESTROYED.
This includes any other Terraform workspace in the current directory.
This action is irreversible and ALL DATA WILL BE LOST.
Do you want to continue? [y/n]:
```
After confirming with either "y" or "yes", the cluster will be terminated :
```shell-session
Terminating ... Terminating ...
Your Constellation cluster was terminated successfully. Your Constellation cluster was terminated successfully.
``` ```
For automation purposes, you can skip the prompt by passing `--yes` as a flag to `constellation terminate`.
:::tip :::tip
On Azure, if you have used the `az` script, you can keep the prerequisite resources and reuse them for a new cluster. On Azure, if you have used the `az` script, you can keep the prerequisite resources and reuse them for a new cluster.