pcluster delete-cluster
Starts the deletion of a cluster.
pcluster delete-cluster [-h] --cluster-nameCLUSTER_NAME[--debug] [--queryQUERY] [--regionREGION]
Named arguments
-h, --help-
Shows the help text for
pcluster delete-cluster. --cluster-name, -nCLUSTER_NAME-
Specifies the name of the cluster.
--debug-
Enables debug logging.
--queryQUERY-
Specifies the JMESPath query to perform on the output.
--region, -rREGION-
Specifies the Amazon Web Services Region to use. The Region must be specified, using the
AWS_DEFAULT_REGIONenvironment variable, theregionsetting in the[default]section of the~/.aws/configfile, or the--regionparameter.
Example using Amazon ParallelCluster version 3.1.4:
$pcluster delete-cluster -ncluster-v3{ "cluster": { "clusterName": "cluster-v3", "cloudformationStackStatus": "DELETE_IN_PROGRESS", "cloudformationStackArn": "arn:aws:cloudformation:us-east-1:123456789012:stack/cluster-v3/1234abcd-56ef-78gh-90ij-abcd1234efgh", "region": "us-east-1", "version": "3.1.4", "clusterStatus": "DELETE_IN_PROGRESS" } }