Skip to content

Remove stopping ECS tasks from the teardown script #5559

@Rob9786

Description

@Rob9786

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions