Closed cloudlena closed 4 years ago
Same idea here as the age filter, I suppose? See: https://github.com/cloudetc/awsweeper/pull/36
Yes, it's a duplicate. Sorry for not checking thoroughly enough.
I reopen this, because I referenced only a PR that someone contributed (without tests unfortunately). It's good to have an actual issue for this :slightly_smiling_face:
I also like your idea, to not introduce a new age filter, but extend the existing created: before/after:
semantics with relative dates.
Completed by #46
I would like to filter by a relative date instead of an absolute one. An example might be:
This would delete all resources that are older than 5 days at the time of running
awsweeper
. We could use the standard Go terms like5d
,2h
,2m
etc.