Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add cdk-self-destruct #96

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat: add cdk-self-destruct #96

wants to merge 1 commit into from

Conversation

NimmLor
Copy link

@NimmLor NimmLor commented Jan 4, 2023

cdk-self-destruct is an utility that enables you to schedule the destruction of cdk stacks while also destroying all associated resources.

It is inspired by cdk-time-bomb, but rewritten with aws-cdk v2 and it uses the new AWS EventBridge Scheduler.

It also allows you to automatically overwrite the RemovalPolicy of every resource in the stack, as well as to delete implicitly created resources or dependencies that prevent the resource from being deleted.

At this time this includes:

  • Purging non-empty S3 buckets - this would otherwise cause the deployment to fail
  • Cancelling running stepfunction executions - this would cause the deployment to wait until all executions are finished
  • Deleting log groups created by aws lambda

Requirements for your pull request

  • Use the following format: [library](link) - Description.
  • The text of the link should be the name of the package or project.
  • If you add a construct published in multiple languages via JSII, the link should point to the source repository, not to npm, PyPI etc
  • Add one link per pull-request.
  • Keep descriptions concise, clear and simple, and end them with a period / stop.
  • New categories, or improvements to the existing ones are also welcome.
  • Make sure your text editor is set to remove trailing whitespace.
  • It is desirable for the whole thing to fit on one line after getting rendered by GitHub.

@NimmLor
Copy link
Author

NimmLor commented Jan 14, 2023

@kalaiser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant