Skip to content
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

Merged
merged 1 commit into from
Jan 2, 2025
Merged

Conversation

athiruma
Copy link
Collaborator

Type of change

Note: Fill x in []

  • bug
  • enhancement
  • documentation
  • dependencies

Description

Added the stopped_date, create_date of ec2_stop, instance_idle, database_idle policies.

ref:

Screenshot 2024-12-30 at 3 57 04 PM

For security reasons, all pull requests need to be approved first before running any automated CI

@athiruma athiruma added the documentation Improvements or additions to documentation label Dec 30, 2024
@athiruma athiruma requested a review from ebattat December 30, 2024 10:27
@athiruma athiruma self-assigned this Dec 30, 2024
{% 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>
Copy link
Collaborator

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

Copy link
Collaborator Author

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' %}
Copy link
Collaborator

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' ?

Copy link
Collaborator Author

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.

Copy link
Collaborator

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 ?

@ebattat ebattat merged commit 0b74b46 into redhat-performance:main Jan 2, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Development

Successfully merging this pull request may close these issues.

2 participants