bottlerocket-os / bottlerocket-ecs-updater

A service to automatically manage Bottlerocket updates in an Amazon ECS cluster.
Other
47 stars 9 forks source link

Integration cleanup script failes when Services are running in cluster #91

Closed srgothi92 closed 3 years ago

srgothi92 commented 3 years ago

What I'd like: Cleanup script ./integ/cleanup.sh fails to delete cluster when Services are running. It should not fail while cleaning up the resources and stop any running services before deleting the cluster.

Any alternatives you've considered:

  1. In addition to setting auto scaling group desired instance to 0 we need to force stop any services running on the cluster. So that cluster CFN stack does not fail in delete.
srgothi92 commented 3 years ago

Fixed in PR-93