Skip to content

Commit

Permalink
update cluster delete doc
Browse files Browse the repository at this point in the history
  • Loading branch information
timckt committed Apr 8, 2024
1 parent 2255fd0 commit 66dc86b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions doc/cloud-platform_cluster_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ It will delete the components, then the cluster, the VPC, terraform workspace an
This command defaults to --dry-run=true, set --dry-run=false when you are ready to actually destroy the cluster.

You must have the following environment variables set, or passed via arguments:
- a valid AWS profile or access key and secret.
- a valid auth0 client id and secret.
- a valid auth0 domain.
- a cluster name
- a valid AWS profile or access key and secret
- a valid AWS region
- a valid auth0 client id and secret
- a valid auth0 domain
- a cluster name

You must also be in the infrastructure repository, and have decrypted the repository before running this command.

Expand All @@ -29,8 +30,9 @@ cloud-platform cluster delete [flags]
--auth0-client-id string [required] auth0 client id to use
--auth0-client-secret string [required] auth0 client secret to use
--auth0-domain string [required] auth0 domain to use
--destroy-cluster [optional] if true, will destroy the eks cluster (default true)
--destroy-components [optional] if true, will destroy the cluster components (default true)
--destroy-core [optional] if true, will destroy the cluster core layer (default true)
--destroy-cluster [optional] if true, will destroy the eks cluster (default true)
--destroy-vpc [optional] if true, will destroy the vpc (default true)
--dry-run [optional] if false, the cluster will be destroyed otherwise no changes will be made to the cluster (default true)
-h, --help help for delete
Expand Down

0 comments on commit 66dc86b

Please sign in to comment.