You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
@nmiculinic I was trying to do something very similar today and also couldn't figure out how to do it. After spelunking in the code, I found that for EC2 instances, the launchTime metadata is not populated into the properties for that resource -- which means that at the moment, there doesn't appear to be any easy way to nuke EC2 instances that are >= X hours old.
I implemented the necessary properties to underly this behaviour and have submitted them in #670. After that PR has been merged, this will be possible with a filter statement like this:
Maybe I've misread the docs....though I want to kill all EC2 instances older than 2h for example. (among other resources).
Can I achieve this with this tool, or is it not in the feature set.
The text was updated successfully, but these errors were encountered: