Open parasdsingh opened 7 years ago
Out of curiosity, how would you go about determining if a stack is unused?
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
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?