{% for user_type, user_report in report.results.items() %}

Instances used by {{ user_type.upper() }}

{% for cloud_provider in report.cloud_providers %} {% endfor %} {% for _ in report.cloud_providers %} {% for state in ["On-demand: running", "Spot: running", "Stopped"] %} {% endfor %} {% endfor %} {% for user, stat in user_report|dictsort %} {% for cloud_provider in report.cloud_providers %} {% endfor %} {% if stat["projected_daily_cost"] > 50 %} {% elif stat["projected_daily_cost"] == 0 %} {% else %} {% endif %} {% endfor %}
User{{ cloud_provider.upper() }}
{{ state }}Keep alive Projected daily cost
{{ user }}{{ stat[cloud_provider].num_running_instances_on_demand }} {{ stat[cloud_provider].num_running_instances_spot }} {{ stat[cloud_provider].num_stopped_instances }}{{ stat["num_instances_keep_alive"] }}{{ "%.1f"|format(stat["projected_daily_cost"]) }}{{ stat["projected_daily_cost"] }}{{ "%.1f"|format(stat["projected_daily_cost"]) }}
{% endfor %} {% if report.crs %}

Active Capacity Reservations (AWS)

{% for cr in report.crs %} {% if cr.is_unused %} {% else %} {% endif %} {% endfor %}
User Region Instance Type Capacity total Capacity available Start Time id
{{ cr.user }} {{ cr.region }} {{ cr.instance_type }} {{ cr.capacity_total }}{{ cr.capacity_available }}{{ cr.capacity_available }}{{ cr.start_time }} {{ cr.id }}
{% endif %}