-
Notifications
You must be signed in to change notification settings - Fork 720
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
Can Aging time Added to all of the resources in awsnuke - whitelist pre-population, etc. #767
Comments
1.This code snippet does not seem to be working.
###################### 2.Can similar logic as above used for other 375 resources as well? |
Hello. You have to specify the duration in hours. For example 90 days would be For example: EC2Instance:
- property: dateOlderThan
value: "2160h"
This is the second time I am seeing this random code snippet in a config file. Where did you get this from? |
$ bin/aws-nuke-mac resource-types | wc -l
|
By the way, this condition does not work.
|
No, only properties that look like a date.
The filter syntax is wrong.
So you can use this as a property: EC2Instance:
- property: LaunchTime
type: dateOlderThan
value: "2160h" # might be negative |
I want to check whether awsnuke to see if resources that haven't reached a specific age (30 days, etc.) can automatically added to the awsnuke whitelist.
The text was updated successfully, but these errors were encountered: