full-dress-10026
04/15/2019, 4:34 PMaws:ecs:Cluster (app):
error: Plan apply failed: deleting urn:pulumi:basic-web-kenny::basic-web::awsinfra:x:ecs:Cluster$aws:ecs/cluster:Cluster::app: ClusterContainsServicesException: The Cluster cannot be deleted while Services are active.
status code: 400, request id: aa1fa14b-5f9b-11e9-bfb5-ab10608170ab
The ECS cluster named app
does not exist so I'm not sure how it could have active Services. Any ideas?white-balloon-205
pulumi state delete 'urn:pulumi:basic-web-kenny::basic-web::awsinfra:x:ecs:Cluster$aws:ecs/cluster:Cluster::app'
to remove it from Pulumi's state so that Pulumi doesn't try to delete it again.
That said - the error message you are seeing sounds surprising if that is the case. Are you sure the cluster does not exist in AWS anymore?full-dress-10026
04/15/2019, 4:38 PMwhite-balloon-205
pulumi state delete
should help here.full-dress-10026
04/15/2019, 4:39 PMpulumi destroy
on this stack, it stays on this UI for 10 minutes:
Type Name Status
pulumi:pulumi:Stack basic-web-basic-web-kenny
- └─ aws:ecs:Cluster app deleting
Seems like it could exit a lot earlier.white-balloon-205
full-dress-10026
04/15/2019, 4:41 PM