Skip to content

Commit

Permalink
Update the email msg (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
athiruma authored Jan 2, 2025
1 parent 438e2b4 commit 0b74b46
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@
{% else %}
{% if col == 'PublicCloud' %}
<td>{{ record[col] or 'AWS' }}</td>
{% elif col == 'policy' %}
{% if record[col] == 'ec2_stop' %}
<td>{{ record[col] }} - {{ record['StoppedDate'].split(" ")[0] }}</td>
{% 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>
{% else %}
<td>{{ record[col] }}</td>
{% endif %}
{% elif col == 'RegionName' %}
<td>{{ record[col] or record['region_name'] }}</td>
{% elif 'kubernetes.io/cluster' in record[col] %}
Expand Down

0 comments on commit 0b74b46

Please sign in to comment.