-
Notifications
You must be signed in to change notification settings - Fork 15
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
Update the email msg #886
Update the email msg #886
Conversation
{% elif record[col] == 'database_idle' %} | ||
<td>{{ record[col] }} - {{ record['CreateDate'].split(" ")[0] }}</td> | ||
{% elif record[col] == 'instance_idle' %} | ||
<td>{{ record[col] }} - {{ record['LaunchTime'].split("T")[0] }}</td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about other policies ?
unattached_ip
unattached_volume
s3_inactive
empty_roles
zombie_snapshots
zombie_nat_gateways
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, these policies are running in dry_run=no. As these are instances we added the start date.
@@ -66,6 +66,16 @@ | |||
{% else %} | |||
{% if col == 'PublicCloud' %} | |||
<td>{{ record[col] or 'AWS' }}</td> | |||
{% elif col == 'policy' %} | |||
{% if record[col] == 'ec2_stop' %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it the right policy name 'ec2_stop', I thought we change it to 'stop_instance' ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
earlier we decided not to change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What the effort to change it, I think it can be relevant for azure ?
Type of change
Note: Fill x in []
Description
Added the stopped_date, create_date of ec2_stop, instance_idle, database_idle policies.
ref:
For security reasons, all pull requests need to be approved first before running any automated CI