Deletes the CloudFormation stack that was created by ecs-cli up
and the associated resources. The
--force option is
The ECS CLI can only manage tasks, services, and container instances that were created with the ECS CLI. To manage tasks, services, and container instances that were not created by the ECS CLI, use the AWS Command Line Interface or the AWS Management Console.
down command attempts to delete the cluster specified in
~/.ecs/config. However, if there are any active services
(even with a desired count of 0) or registered container instances in your cluster
that were not created by ecs-cli up (for example, if you used an
existing ECS cluster with registered container instances, such as the default
cluster), the cluster is not deleted and the services and pre-existing container
instances remain active.
If you have remaining services or container instances in your cluster that you would like to remove, you can follow the procedures in Cleaning Up your Amazon ECS Resources to remove them and then delete your cluster.
ecs-cli down --force [--help]
Acknowledges that this command permanently deletes resources.
Show the help text for the specified command.
This example deletes a cluster.
ecs-cli down --forceINFO Waiting for your cluster resources to be deleted INFO Cloudformation stack status stackStatus=DELETE_IN_PROGRESS INFO Cloudformation stack status stackStatus=DELETE_IN_PROGRESS INFO Cloudformation stack status stackStatus=DELETE_IN_PROGRESS INFO Deleted cluster