Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ performance git:(SLS-58) ✗ terraform destroy
- aws_ecs_cluster.ecs-performance: Refreshing state... (ID: arn:aws:ecs:us-east-2:568332095582:cluster/ecs-performance)
- An execution plan has been generated and is shown below.
- Resource actions are indicated with the following symbols:
- - destroy
- Terraform will perform the following actions:
- - aws_ecs_cluster.ecs-performance
- Plan: 0 to add, 0 to change, 1 to destroy.
- Do you really want to destroy all resources?
- Terraform will destroy all your managed infrastructure, as shown above.
- There is no undo. Only 'yes' will be accepted to confirm.
- Enter a value: yes
- aws_ecs_cluster.ecs-performance: Destroying... (ID: arn:aws:ecs:us-east-2:568332095582:cluster/ecs-performance)
- Error: Error applying plan:
- 1 error(s) occurred:
- * aws_ecs_cluster.ecs-performance (destroy): 1 error(s) occurred:
- * aws_ecs_cluster.ecs-performance: ClusterContainsTasksException: The Cluster cannot be deleted while Tasks are active.
- status code: 400, request id: c4715f19-18cc-11e9-938a-09b771cd36de
- Terraform does not automatically rollback in the face of errors.
- Instead, your Terraform state file has been partially updated with
- any resources that successfully completed. Please address the error
- above and apply again to incrementally change your infrastructure.
- ➜ performance git:(SLS-58) ✗ terraform destroy
- aws_ecs_cluster.ecs-performance: Refreshing state... (ID: arn:aws:ecs:us-east-2:568332095582:cluster/ecs-performance)
- An execution plan has been generated and is shown below.
- Resource actions are indicated with the following symbols:
- - destroy
- Terraform will perform the following actions:
- - aws_ecs_cluster.ecs-performance
- Plan: 0 to add, 0 to change, 1 to destroy.
- Do you really want to destroy all resources?
- Terraform will destroy all your managed infrastructure, as shown above.
- There is no undo. Only 'yes' will be accepted to confirm.
- Enter a value: yes
- aws_ecs_cluster.ecs-performance: Destroying... (ID: arn:aws:ecs:us-east-2:568332095582:cluster/ecs-performance)
- Error: Error applying plan:
- 1 error(s) occurred:
- * aws_ecs_cluster.ecs-performance (destroy): 1 error(s) occurred:
- * aws_ecs_cluster.ecs-performance: ClusterContainsTasksException: The Cluster cannot be deleted while Tasks are active.
- status code: 400, request id: 4fc5dc1e-18cd-11e9-92f1-aff90431d568
- Terraform does not automatically rollback in the face of errors.
- Instead, your Terraform state file has been partially updated with
- any resources that successfully completed. Please address the error
- above and apply again to incrementally change your infrastructure.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement