Advertisement
fedorm

fedorm

Jan 15th, 2019
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.62 KB | None | 0 0
  1. ➜  performance git:(SLS-58) ✗ terraform destroy                                              
  2. aws_ecs_cluster.ecs-performance: Refreshing state... (ID: arn:aws:ecs:us-east-2:568332095582:cluster/ecs-performance)
  3.  
  4. An execution plan has been generated and is shown below.
  5. Resource actions are indicated with the following symbols:
  6.   - destroy
  7.  
  8. Terraform will perform the following actions:
  9.  
  10.   - aws_ecs_cluster.ecs-performance
  11.  
  12.  
  13. Plan: 0 to add, 0 to change, 1 to destroy.
  14.  
  15. Do you really want to destroy all resources?
  16.   Terraform will destroy all your managed infrastructure, as shown above.
  17.   There is no undo. Only 'yes' will be accepted to confirm.
  18.  
  19.   Enter a value: yes
  20.  
  21. aws_ecs_cluster.ecs-performance: Destroying... (ID: arn:aws:ecs:us-east-2:568332095582:cluster/ecs-performance)
  22.  
  23. Error: Error applying plan:
  24.  
  25. 1 error(s) occurred:
  26.  
  27. * aws_ecs_cluster.ecs-performance (destroy): 1 error(s) occurred:
  28.  
  29. * aws_ecs_cluster.ecs-performance: ClusterContainsTasksException: The Cluster cannot be deleted while Tasks are active.
  30.     status code: 400, request id: c4715f19-18cc-11e9-938a-09b771cd36de
  31.  
  32. Terraform does not automatically rollback in the face of errors.
  33. Instead, your Terraform state file has been partially updated with
  34. any resources that successfully completed. Please address the error
  35. above and apply again to incrementally change your infrastructure.
  36.  
  37.  
  38. ➜  performance git:(SLS-58) ✗ terraform destroy
  39. aws_ecs_cluster.ecs-performance: Refreshing state... (ID: arn:aws:ecs:us-east-2:568332095582:cluster/ecs-performance)
  40.  
  41. An execution plan has been generated and is shown below.
  42. Resource actions are indicated with the following symbols:
  43.   - destroy
  44.  
  45. Terraform will perform the following actions:
  46.  
  47.   - aws_ecs_cluster.ecs-performance
  48.  
  49.  
  50. Plan: 0 to add, 0 to change, 1 to destroy.
  51.  
  52. Do you really want to destroy all resources?
  53.   Terraform will destroy all your managed infrastructure, as shown above.
  54.   There is no undo. Only 'yes' will be accepted to confirm.
  55.  
  56.   Enter a value: yes
  57.  
  58. aws_ecs_cluster.ecs-performance: Destroying... (ID: arn:aws:ecs:us-east-2:568332095582:cluster/ecs-performance)
  59.  
  60. Error: Error applying plan:
  61.  
  62. 1 error(s) occurred:
  63.  
  64. * aws_ecs_cluster.ecs-performance (destroy): 1 error(s) occurred:
  65.  
  66. * aws_ecs_cluster.ecs-performance: ClusterContainsTasksException: The Cluster cannot be deleted while Tasks are active.
  67.     status code: 400, request id: 4fc5dc1e-18cd-11e9-92f1-aff90431d568
  68.  
  69. Terraform does not automatically rollback in the face of errors.
  70. Instead, your Terraform state file has been partially updated with
  71. any resources that successfully completed. Please address the error
  72. above and apply again to incrementally change your infrastructure.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement