-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
User Story
As a Sleeper user, when I remove the CloudFormation stack I expect all of the assets linked to that stack to be cleaned up correctly.
Description / Background
Split from ticket
During testing it was observed that EMR Serverless tasks were not fully terminated when stopped from within CloudFormation.
A new lambda has been developed to tear down EMR Serverless applications within the CDK. The new lambda now needs to be attached to each deployed EMR Serverless stack.
Acceptance Criteria
Gherkin format example:
Given A EMR Serverless stack deployment
When I delete the stack
Then All of the assets associated with that stack are removed
Technical Notes / Implementation Details
- Create a new CDK stack called AutoStopEMRServerlessStack.
- Update SleeperCDKApp to create an instance of AutoStopEMRServerlessStack
- Pass the new instance into EmrServerlessBulkImportStack
- Update EMRServerlessBulkImportStack to add the AutoStopEMRServerlessStack as a dependency.
Dependencies / Blockers
Complete #5375 first.