mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-30 10:38:46 -04:00
cli: iam destroy (#946)
This commit is contained in:
parent
f1b331bbbd
commit
5137e9fa57
11 changed files with 659 additions and 9 deletions
|
@ -256,14 +256,7 @@ You can keep created IAM configurations and reuse them for new clusters. Alterna
|
|||
* [Terraform](https://developer.hashicorp.com/terraform/downloads) is installed on your machine.
|
||||
* Access to the `terraform.tfstate` file created by the `constellation iam create` command.
|
||||
|
||||
You can delete the IAM configuration using the following commands:
|
||||
You can delete the IAM configuration by executing the following command in the same directory where you executed `constellation iam create`:
|
||||
```bash
|
||||
# Navigate to the directory containing the terraform.tfstate file
|
||||
cd constellation-iam-terraform
|
||||
# Destroy the IAM configuration via Terraform
|
||||
terraform destroy
|
||||
# Confirm deletion by typing "yes"
|
||||
# Remove the Terraform state directory
|
||||
cd ..
|
||||
rm -rf constellation-iam-terraform
|
||||
constellation iam destroy
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue