Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Add Cloud Formation Cleanup Support to Janitor #292

Open
parasdsingh opened this issue Jan 18, 2017 · 2 comments
Open

Add Cloud Formation Cleanup Support to Janitor #292

parasdsingh opened this issue Jan 18, 2017 · 2 comments

Comments

@parasdsingh
Copy link

I wanted to use Janitor Monkey to cleanup Cloud Formation stacks (effectively, cleaning all associated resources within the stack). Basic requirement is for it to remove stacks that are missing tags or have been unused for X days.

I was unable to find any discussion on supporting this feature so have created a new issue. Are there any plans for supporting this in the near future?

@gorzell
Copy link
Contributor

gorzell commented Jan 19, 2017

Out of curiosity, how would you go about determining if a stack is unused?

@parasdsingh
Copy link
Author

parasdsingh commented Jan 19, 2017

I realize there's no sure-way of determining this but in my use-case there is always an EC2 instance which can be used to determine any last activity in the environment (effectively, the last access time for the stack).

Conditionally, we could link a resource from within the stack to be used for determining last-access of the stack. If no such resource is provided (with a valid last access attribute) the feature can be disabled

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

No branches or pull requests

2 participants