-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Description
User Story
As a Sleeper admin I want to be able to remove AWS resources cleanly without leaving artifacts behind.
Description / Background
A new CDK custom resource has been created to stop ECS tasks when a cluster is deleted. The teardown script includes code to stop ECS tasks but due to this change, this is no longer required.
Custom resource task:
Acceptance Criteria
Given A Sleeper cluster needs to be deleted
When I execute the teardown script to tidy resources
Then the ECS tasks will have already been stopped by the code in the CDK
Technical Notes / Implementation Details
The code to remove is in ShutdownSystemProcesses.java Remove the stopECSTasks(), stopTasks() and forEachTaskArn() methods.
Dependencies / Blockers
- None