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

Add auto self-destruction capability #9

Open
almostwhitehat opened this issue Oct 28, 2019 · 1 comment
Open

Add auto self-destruction capability #9

almostwhitehat opened this issue Oct 28, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@almostwhitehat
Copy link

It's entirely possible that someone might create these resources and forget to destroy them (or not know how)

It would be a good idea to provision a self-destruct mechanism by default, with a Scheduled Event to trigger it after X number of days. This could be something as simple as an hashicorp/terraform container in ECR with sufficient permission to destroy everything.

That would require moving the terraform backend to S3 - which opens up a whole bunch of new opportunities for vulnerabilities!

@ramimac ramimac added the enhancement New feature or request label Oct 28, 2019
@geowa4
Copy link

geowa4 commented Oct 28, 2019

It's probably not a bad idea to put all of these resources in their own AWS account and use cloud-nuke to get rid of it all when you're done.

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

No branches or pull requests

3 participants